Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001343/0.001343, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001505/0.001505, allocations: 210.5 kB / 22.24 MB, free: 5.266 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.002111/0.002111, allocations: 68.16 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1737/0.4775, allocations: 135.9 MB / 1.415 GB, free: 4.062 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.4934, allocations: 9.949 MB / 1.425 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.4945, allocations: 27.81 kB / 1.425 GB, free: 10.06 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009788/0.4954, allocations: 285.6 kB / 1.425 GB, free: 9.777 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.4987, allocations: 1.005 MB / 1.426 GB, free: 8.773 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.5018, allocations: 1.113 MB / 1.427 GB, free: 7.668 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.5043, allocations: 1.756 MB / 1.429 GB, free: 5.902 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.5059, allocations: 0.9315 MB / 1.43 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.5081, allocations: 0.7578 MB / 1.431 GB, free: 4.199 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009697/0.509, allocations: 0.585 MB / 1.431 GB, free: 3.613 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.5093, allocations: 136 kB / 1.431 GB, free: 3.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.5114, allocations: 1.006 MB / 1.432 GB, free: 2.473 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.5118, allocations: 402.7 kB / 1.433 GB, free: 2.078 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.5124, allocations: 0.552 MB / 1.433 GB, free: 1.523 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.5164, allocations: 2.3 MB / 1.436 GB, free: 15.21 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5164, allocations: 0 / 1.436 GB, free: 15.21 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5164, allocations: 0 / 1.436 GB, free: 15.21 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.953e-05/0.5165, allocations: 0 / 1.436 GB, free: 15.21 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003543/0.52, allocations: 1.726 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5201, allocations: 16.03 kB / 1.437 GB, free: 13.43 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.5203, allocations: 160 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.5225, allocations: 314.8 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.5243, allocations: 1.037 MB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.5243, allocations: 70 kB / 1.439 GB, free: 11.82 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.5245, allocations: 99.98 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.5269, allocations: 1.486 MB / 1.44 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.5269, allocations: 0 / 1.44 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.527, allocations: 40 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.527, allocations: 24 kB / 1.44 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.5295, allocations: 1.276 MB / 1.442 GB, free: 8.77 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.5352, allocations: 2.771 MB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.5374, allocations: 0.9742 MB / 1.445 GB, free: 4.961 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.5382, allocations: 383.6 kB / 1.446 GB, free: 4.582 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.5384, allocations: 60.89 kB / 1.446 GB, free: 4.52 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.5397, allocations: 0.8514 MB / 1.447 GB, free: 3.598 MB / 1.139 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.5398, allocations: 0 / 1.447 GB, free: 3.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=95): time 0.004471/0.5442, allocations: 1.485 MB / 1.448 GB, free: 2.098 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.5444, allocations: 196.9 kB / 1.448 GB, free: 1.863 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.5458, allocations: 1.048 MB / 1.449 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.546, allocations: 49.7 kB / 1.449 GB, free: 0.75 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.5464, allocations: 485.2 kB / 1.45 GB, free: 276 kB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.5467, allocations: 321.4 kB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.547, allocations: 166.6 kB / 1.45 GB, free: 15.78 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5472, allocations: 341.9 kB / 1.451 GB, free: 15.44 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.548, allocations: 337.8 kB / 1.451 GB, free: 15.11 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.549, allocations: 0.6589 MB / 1.451 GB, free: 14.37 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.5507, allocations: 0.7726 MB / 1.452 GB, free: 13.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5507, allocations: 0 / 1.452 GB, free: 13.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002757/0.5534, allocations: 1.037 MB / 1.453 GB, free: 12.54 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5535, allocations: 12 kB / 1.453 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5535, allocations: 0 / 1.453 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/0.5542, allocations: 117.5 kB / 1.453 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.5552, allocations: 195.7 kB / 1.454 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.5586, allocations: 2.846 MB / 1.456 GB, free: 9.129 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.5595, allocations: 119.4 kB / 1.456 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.5596, allocations: 27.98 kB / 1.456 GB, free: 8.984 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005794/0.5602, allocations: 319.2 kB / 1.457 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.5605, allocations: 111.3 kB / 1.457 GB, free: 8.555 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.5637, allocations: 1.318 MB / 1.458 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5637, allocations: 12 kB / 1.458 GB, free: 7.207 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5637, allocations: 0 / 1.458 GB, free: 7.207 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.5637, allocations: 7.969 kB / 1.458 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.5684, allocations: 2.27 MB / 1.46 GB, free: 4.875 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.5684, allocations: 0 / 1.46 GB, free: 4.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.5692, allocations: 191.7 kB / 1.461 GB, free: 4.688 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005898/0.5698, allocations: 113.5 kB / 1.461 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.5699, allocations: 31.98 kB / 1.461 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/0.5732, allocations: 2.858 MB / 1.464 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5732, allocations: 8.094 kB / 1.464 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.5762, allocations: 1.245 MB / 1.465 GB, free: 172 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.5769, allocations: 259 kB / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.5771, allocations: 20 kB / 1.465 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.5779, allocations: 87.84 kB / 1.465 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5781, allocations: 88.77 kB / 1.465 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5782, allocations: 43.97 kB / 1.465 GB, free: 15.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001031/0.5792, allocations: 0.7645 MB / 1.466 GB, free: 14.91 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5792, allocations: 0 / 1.466 GB, free: 14.91 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001431/0.5807, allocations: 458.9 kB / 1.466 GB, free: 14.46 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00539/0.586, allocations: 2.419 MB / 1.469 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.5886, allocations: 1.076 MB / 1.47 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5886, allocations: 7.938 kB / 1.47 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.59, allocations: 0.7098 MB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.5917, allocations: 361.2 kB / 1.471 GB, free: 10.05 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.6074, allocations: 8.452 MB / 1.479 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.6081, allocations: 0.5105 MB / 1.48 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001136/0.6092, allocations: 320 kB / 1.48 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.6099, allocations: 475.2 kB / 1.48 GB, free: 128 kB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/0.6099, allocations: 0 / 1.48 GB, free: 128 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08289/0.6928, allocations: 30.6 MB / 1.51 GB, free: 1.949 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.25, allocations: 1.547 kB / 1.51 GB, free: 1.949 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 22.02813462819904]