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.001651/0.001651, allocations: 105.2 kB / 19.73 MB, free: 2.113 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.002011/0.002011, allocations: 218.4 kB / 23.03 MB, free: 4.91 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.789/2.789, allocations: 476.8 MB / 0.7715 GB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",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.002061/0.002061, allocations: 67.3 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1729/0.4917, allocations: 135.8 MB / 1.417 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.5077, allocations: 9.93 MB / 1.426 GB, free: 8.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008757/0.5086, allocations: 27.75 kB / 1.426 GB, free: 8.402 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.5096, allocations: 281.7 kB / 1.427 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.5127, allocations: 1.011 MB / 1.428 GB, free: 7.113 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.5155, allocations: 1.115 MB / 1.429 GB, free: 6.008 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.5178, allocations: 1.76 MB / 1.43 GB, free: 4.238 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.5197, allocations: 0.951 MB / 1.431 GB, free: 3.266 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.5223, allocations: 0.7567 MB / 1.432 GB, free: 2.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.5233, allocations: 0.6457 MB / 1.433 GB, free: 1.871 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.5236, allocations: 136 kB / 1.433 GB, free: 1.738 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.5259, allocations: 1.038 MB / 1.434 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.5264, allocations: 390.8 kB / 1.434 GB, free: 324 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.5272, allocations: 0.5559 MB / 1.435 GB, free: 15.76 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004692/0.5318, allocations: 2.3 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5319, allocations: 4 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5319, allocations: 0 / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.849e-05/0.5319, allocations: 0 / 1.437 GB, free: 13.45 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.004116/0.536, allocations: 1.73 MB / 1.439 GB, free: 11.68 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5361, allocations: 11.97 kB / 1.439 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.906e-05/0.5361, allocations: 29.94 kB / 1.439 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.5364, allocations: 152.1 kB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.539, allocations: 322.8 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.5411, allocations: 1.029 MB / 1.44 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.5412, allocations: 74 kB / 1.44 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.5414, allocations: 95.98 kB / 1.44 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.544, allocations: 1.49 MB / 1.442 GB, free: 8.312 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.544, allocations: 0 / 1.442 GB, free: 8.312 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5442, allocations: 44 kB / 1.442 GB, free: 8.27 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.5442, allocations: 24 kB / 1.442 GB, free: 8.246 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5468, allocations: 1.315 MB / 1.443 GB, free: 6.93 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.006229/0.5531, allocations: 2.771 MB / 1.446 GB, free: 4.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.5553, allocations: 0.9699 MB / 1.447 GB, free: 3.121 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.5562, allocations: 403.1 kB / 1.447 GB, free: 2.727 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.5565, allocations: 52.95 kB / 1.447 GB, free: 2.672 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.558, allocations: 0.8436 MB / 1.448 GB, free: 1.758 MB / 1.139 GB Notification: Performance of pre-optimization done (n=95): time 3.948e-06/0.558, allocations: 4 kB / 1.448 GB, free: 1.754 MB / 1.139 GB Notification: Performance of matching and sorting (n=95): time 0.004775/0.5627, allocations: 1.485 MB / 1.45 GB, free: 260 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5629, allocations: 200.8 kB / 1.45 GB, free: 16 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5645, allocations: 1.052 MB / 1.451 GB, free: 14.96 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.5646, allocations: 41.7 kB / 1.451 GB, free: 14.91 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.5651, allocations: 481.2 kB / 1.451 GB, free: 14.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.5655, allocations: 329.2 kB / 1.452 GB, free: 14.11 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.5658, allocations: 166.6 kB / 1.452 GB, free: 13.94 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.566, allocations: 341.9 kB / 1.452 GB, free: 13.6 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.5668, allocations: 333.8 kB / 1.452 GB, free: 13.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.5679, allocations: 0.6589 MB / 1.453 GB, free: 12.53 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.5695, allocations: 0.7687 MB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5695, allocations: 0 / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002871/0.5724, allocations: 1.041 MB / 1.455 GB, free: 10.7 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5724, allocations: 8 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5724, allocations: 4.062 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.5732, allocations: 113.6 kB / 1.455 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.5743, allocations: 195.7 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.578, allocations: 2.848 MB / 1.458 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.5792, allocations: 121.3 kB / 1.458 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.5794, allocations: 31.98 kB / 1.458 GB, free: 7.148 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.0006935/0.58, allocations: 309.7 kB / 1.458 GB, free: 6.836 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.5804, allocations: 119.3 kB / 1.458 GB, free: 6.719 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.5838, allocations: 1.314 MB / 1.46 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.5838, allocations: 12 kB / 1.46 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5838, allocations: 3.938 kB / 1.46 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.5838, allocations: 7.969 kB / 1.46 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/0.5893, allocations: 2.271 MB / 1.462 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5893, allocations: 0 / 1.462 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/0.5903, allocations: 187.7 kB / 1.462 GB, free: 2.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/0.5909, allocations: 109.6 kB / 1.462 GB, free: 2.742 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.5911, allocations: 27.97 kB / 1.462 GB, free: 2.715 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.5945, allocations: 2.874 MB / 1.465 GB, free: 15.6 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5945, allocations: 0 / 1.465 GB, free: 15.6 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.5976, allocations: 1.249 MB / 1.466 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/0.5983, allocations: 250.9 kB / 1.467 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.5986, allocations: 20 kB / 1.467 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5996, allocations: 81.97 kB / 1.467 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.5998, allocations: 88.97 kB / 1.467 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.6, allocations: 43.97 kB / 1.467 GB, free: 13.85 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001125/0.6011, allocations: 0.7723 MB / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6011, allocations: 0 / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00155/0.6026, allocations: 458.9 kB / 1.468 GB, free: 12.64 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.005876/0.6085, allocations: 2.433 MB / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.6113, allocations: 1.072 MB / 1.471 GB, free: 9.289 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6113, allocations: 0 / 1.471 GB, free: 9.289 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.6129, allocations: 0.7137 MB / 1.472 GB, free: 8.555 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6148, allocations: 363.9 kB / 1.472 GB, free: 8.215 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.631, allocations: 8.455 MB / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6316, allocations: 0.5088 MB / 1.481 GB, free: 15.06 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001206/0.6328, allocations: 316 kB / 1.482 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009309/0.6337, allocations: 475.2 kB / 1.482 GB, free: 14.29 MB / 1.186 GB Notification: Performance of SimCode: time 1.663e-06/0.6337, allocations: 0 / 1.482 GB, free: 14.29 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07814/0.7119, allocations: 30.41 MB / 1.512 GB, free: 364 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.05, allocations: 4.062 kB / 1.512 GB, free: 360 kB / 1.201 GB " [Timeout remaining time 283] (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: 24.138335076044314]