Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002556/0.002556, allocations: 221.3 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.114/3.114, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.8 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001738/0.3804, allocations: 0.5496 MB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.129e-05/0.3804, allocations: 7.938 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.3804, allocations: 0 / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.3805, allocations: 0 / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.3805, allocations: 0 / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.786e-05/0.3805, allocations: 7.984 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.3806, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.3807, allocations: 4 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.3807, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.3807, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3807, allocations: 4 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-06/0.3807, allocations: 0 / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.3807, allocations: 0 / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.3807, allocations: 3.984 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.233e-05/0.3808, allocations: 7.938 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3808, allocations: 0 / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3808, allocations: 0 / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3808, allocations: 0 / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003108/0.3811, allocations: 242.7 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3812, allocations: 8.031 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.3812, allocations: 34.69 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.3812, allocations: 12.92 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3813, allocations: 102.5 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3813, allocations: 384 / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.3814, allocations: 384 / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.3814, allocations: 38.25 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3815, allocations: 3.938 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3815, allocations: 0 / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3815, allocations: 0 / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.424e-05/0.3815, allocations: 0 / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3818, allocations: 362.5 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3819, allocations: 169.5 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.382, allocations: 84.14 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.382, allocations: 79.27 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.3821, allocations: 109.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3821, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.148e-05/0.3821, allocations: 33.67 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.3822, allocations: 126.7 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.3823, allocations: 97.86 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3823, allocations: 29.64 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.3824, allocations: 80.14 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3824, allocations: 4.125 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.3824, allocations: 13.72 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3825, allocations: 314.8 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.3825, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-06/0.3825, allocations: 3.938 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.3826, allocations: 75.28 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.773e-05/0.3826, allocations: 87.22 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.637e-05/0.3827, allocations: 29.64 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.3827, allocations: 85 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.3827, allocations: 75.28 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.432e-05/0.3828, allocations: 150.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.494e-05/0.3828, allocations: 83.22 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.626e-05/0.3829, allocations: 158.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.383, allocations: 79.22 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.383, allocations: 75.28 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.3832, allocations: 268.9 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.3832, allocations: 104.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.3833, allocations: 108.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.278e-05/0.3834, allocations: 180.2 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-05/0.3834, allocations: 180.2 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-05/0.3835, allocations: 184.3 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3838, allocations: 380.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.3838, allocations: 109 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.3839, allocations: 101 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.3839, allocations: 184.2 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.384, allocations: 180.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.994e-05/0.3841, allocations: 180.5 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/0.3842, allocations: 180.2 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3844, allocations: 315.7 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3844, allocations: 101 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/0.3845, allocations: 184.2 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.3846, allocations: 105 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.3847, allocations: 180.3 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.3847, allocations: 108.9 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.3848, allocations: 83.28 kB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002439/0.385, allocations: 0 / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005141/0.3855, allocations: 0.8048 MB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.568e-05/0.3856, allocations: 11.88 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3856, allocations: 0 / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3856, allocations: 8.031 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.386, allocations: 455.7 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3872, allocations: 1.528 MB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.3872, allocations: 55.34 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.783e-06/0.3873, allocations: 0 / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.3873, allocations: 7.438 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3873, allocations: 4 kB / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.4146, allocations: 1.425 MB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.48, allocations: 10.38 kB / 1.337 GB, free: 6.043 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.118675596022513]