Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001478/0.001478, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001683/0.001683, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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 2.854/2.854, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001929/0.001929, allocations: 74.38 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1815/0.4557, allocations: 172 MB / 1.494 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.4775, allocations: 17.45 MB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.4788, allocations: 35.69 kB / 1.511 GB, free: 3.754 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.4804, allocations: 0.5817 MB / 1.511 GB, free: 3.168 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.485, allocations: 1.679 MB / 1.513 GB, free: 1.484 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.4883, allocations: 1.378 MB / 1.514 GB, free: 120 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.492, allocations: 2.731 MB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.4944, allocations: 1.536 MB / 1.519 GB, free: 11.78 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.4987, allocations: 1.443 MB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.5003, allocations: 1.007 MB / 1.521 GB, free: 9.367 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.5008, allocations: 208 kB / 1.521 GB, free: 9.164 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.5038, allocations: 1.509 MB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.5044, allocations: 0.5724 MB / 1.523 GB, free: 7.078 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.5058, allocations: 1.042 MB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004661/0.5104, allocations: 3.168 MB / 1.527 GB, free: 2.852 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5104, allocations: 4 kB / 1.527 GB, free: 2.848 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5104, allocations: 4 kB / 1.527 GB, free: 2.844 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.301e-05/0.5105, allocations: 0 / 1.527 GB, free: 2.844 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004542/0.515, allocations: 2.31 MB / 1.53 GB, free: 496 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5151, allocations: 8.031 kB / 1.53 GB, free: 488 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/0.5154, allocations: 249 kB / 1.53 GB, free: 228 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.5196, allocations: 0.5763 MB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.5216, allocations: 1.057 MB / 1.531 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.5217, allocations: 131.4 kB / 1.532 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.522, allocations: 168 kB / 1.532 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.5252, allocations: 1.839 MB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.5253, allocations: 3.938 kB / 1.534 GB, free: 12.37 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.5254, allocations: 80 kB / 1.534 GB, free: 12.29 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.5255, allocations: 40 kB / 1.534 GB, free: 12.25 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.5287, allocations: 1.878 MB / 1.536 GB, free: 10.37 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008472/0.5372, allocations: 5.648 MB / 1.541 GB, free: 4.332 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.5401, allocations: 1.374 MB / 1.542 GB, free: 2.961 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.5413, allocations: 0.589 MB / 1.543 GB, free: 2.363 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.5423, allocations: 185.1 kB / 1.543 GB, free: 2.184 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.544, allocations: 0.8918 MB / 1.544 GB, free: 1.273 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/0.544, allocations: 4 kB / 1.544 GB, free: 1.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.00617/0.5502, allocations: 2.18 MB / 1.546 GB, free: 15.06 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.5503, allocations: 201.2 kB / 1.546 GB, free: 14.82 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.5516, allocations: 0.8672 MB / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.5518, allocations: 53.7 kB / 1.547 GB, free: 13.88 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.5524, allocations: 0.6655 MB / 1.548 GB, free: 13.2 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.5529, allocations: 0.4956 MB / 1.548 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.5533, allocations: 242.8 kB / 1.549 GB, free: 12.46 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5534, allocations: 353.9 kB / 1.549 GB, free: 12.11 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/0.5544, allocations: 474.4 kB / 1.549 GB, free: 11.64 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.5556, allocations: 0.638 MB / 1.55 GB, free: 10.97 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.5577, allocations: 1.087 MB / 1.551 GB, free: 9.871 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5577, allocations: 4 kB / 1.551 GB, free: 9.867 MB / 1.248 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003469/0.5612, allocations: 1.504 MB / 1.553 GB, free: 8.34 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5612, allocations: 8 kB / 1.553 GB, free: 8.332 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5612, allocations: 0 / 1.553 GB, free: 8.332 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.5622, allocations: 192.1 kB / 1.553 GB, free: 8.129 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.5637, allocations: 331.6 kB / 1.553 GB, free: 7.805 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.5699, allocations: 6.778 MB / 1.56 GB, free: 460 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.5711, allocations: 160.7 kB / 1.56 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.5712, allocations: 55.97 kB / 1.56 GB, free: 244 kB / 1.248 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007861/0.572, allocations: 371.2 kB / 1.56 GB, free: 15.87 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.5724, allocations: 143.2 kB / 1.56 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.5765, allocations: 1.843 MB / 1.562 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.5765, allocations: 20 kB / 1.562 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5765, allocations: 0 / 1.562 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.5765, allocations: 11.97 kB / 1.562 GB, free: 13.82 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/0.5828, allocations: 3.428 MB / 1.566 GB, free: 10.33 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5828, allocations: 3.938 kB / 1.566 GB, free: 10.32 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.5842, allocations: 315.6 kB / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007395/0.5849, allocations: 176.1 kB / 1.566 GB, free: 9.828 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.585, allocations: 39.97 kB / 1.566 GB, free: 9.789 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.5908, allocations: 6.81 MB / 1.573 GB, free: 2.395 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5908, allocations: 4.156 kB / 1.573 GB, free: 2.391 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.5944, allocations: 1.717 MB / 1.574 GB, free: 0.6367 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/0.5952, allocations: 330.6 kB / 1.575 GB, free: 320 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.5954, allocations: 31.94 kB / 1.575 GB, free: 288 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.5966, allocations: 103.8 kB / 1.575 GB, free: 184 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.5968, allocations: 121 kB / 1.575 GB, free: 60 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.597, allocations: 71.95 kB / 1.575 GB, free: 15.99 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008547/0.5979, allocations: 0.5986 MB / 1.576 GB, free: 15.38 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5979, allocations: 0 / 1.576 GB, free: 15.38 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001519/0.5994, allocations: 0.6118 MB / 1.576 GB, free: 14.77 MB / 1.279 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005882/0.6053, allocations: 2.892 MB / 1.579 GB, free: 12.02 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003199/0.6085, allocations: 1.785 MB / 1.581 GB, free: 10.17 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6085, allocations: 4.594 kB / 1.581 GB, free: 10.16 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.6104, allocations: 1.246 MB / 1.582 GB, free: 8.855 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.6125, allocations: 0.5267 MB / 1.582 GB, free: 8.352 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.6308, allocations: 10.05 MB / 1.592 GB, free: 14.12 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.6319, allocations: 1.3 MB / 1.594 GB, free: 12.79 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001526/0.6334, allocations: 438.4 kB / 1.594 GB, free: 12.36 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.6344, allocations: 0.6593 MB / 1.595 GB, free: 11.7 MB / 1.295 GB Notification: Performance of SimCode: time 8.31e-07/0.6344, allocations: 0 / 1.595 GB, free: 11.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6043/1.239, allocations: 39.12 MB / 1.633 GB, free: 270.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.88, allocations: 17.3 kB / 1.633 GB, free: 270.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.004792895168066]