Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001452/0.001452, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.015/3.015, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001953/0.001953, allocations: 67.91 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8465, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2221/1.069, allocations: 171.8 MB / 1.508 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.094, allocations: 17.25 MB / 1.525 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/1.096, allocations: 43.62 kB / 1.525 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/1.098, allocations: 0.57 MB / 1.525 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/1.104, allocations: 1.664 MB / 1.527 GB, free: 8.82 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/1.108, allocations: 1.347 MB / 1.528 GB, free: 7.484 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004114/1.112, allocations: 2.711 MB / 1.531 GB, free: 4.766 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/1.115, allocations: 1.558 MB / 1.532 GB, free: 3.156 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/1.119, allocations: 1.419 MB / 1.534 GB, free: 1.781 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/1.121, allocations: 1.007 MB / 1.535 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006049/1.122, allocations: 211.9 kB / 1.535 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/1.125, allocations: 1.509 MB / 1.536 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007779/1.126, allocations: 0.5569 MB / 1.537 GB, free: 14.49 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/1.128, allocations: 1.046 MB / 1.538 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006628/1.134, allocations: 3.168 MB / 1.541 GB, free: 10.26 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.134, allocations: 7.984 kB / 1.541 GB, free: 10.25 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.823e-06/1.134, allocations: 0 / 1.541 GB, free: 10.25 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001262/1.135, allocations: 0 / 1.541 GB, free: 10.25 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.006005/1.141, allocations: 2.377 MB / 1.543 GB, free: 7.809 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.141, allocations: 12.03 kB / 1.543 GB, free: 7.797 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.058e-05/1.141, allocations: 43.41 kB / 1.544 GB, free: 7.754 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004986/1.141, allocations: 249 kB / 1.544 GB, free: 7.5 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/1.146, allocations: 0.5763 MB / 1.544 GB, free: 6.922 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/1.148, allocations: 1.141 MB / 1.545 GB, free: 5.738 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.148, allocations: 131.4 kB / 1.546 GB, free: 5.609 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/1.148, allocations: 167.9 kB / 1.546 GB, free: 5.445 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/1.152, allocations: 1.847 MB / 1.548 GB, free: 3.547 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.152, allocations: 0 / 1.548 GB, free: 3.547 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/1.153, allocations: 76 kB / 1.548 GB, free: 3.473 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/1.153, allocations: 40 kB / 1.548 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/1.156, allocations: 1.875 MB / 1.549 GB, free: 1.555 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009662/1.166, allocations: 5.728 MB / 1.555 GB, free: 11.45 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/1.169, allocations: 1.683 MB / 1.557 GB, free: 9.684 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.171, allocations: 0.5929 MB / 1.557 GB, free: 9.09 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/1.173, allocations: 1.445 MB / 1.559 GB, free: 7.332 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/1.175, allocations: 0.8917 MB / 1.56 GB, free: 6.418 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.868e-06/1.175, allocations: 4 kB / 1.56 GB, free: 6.414 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006812/1.181, allocations: 2.56 MB / 1.562 GB, free: 3.742 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.182, allocations: 197.2 kB / 1.562 GB, free: 3.508 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.183, allocations: 0.8633 MB / 1.563 GB, free: 2.621 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.183, allocations: 57.7 kB / 1.563 GB, free: 2.559 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007342/1.184, allocations: 0.6694 MB / 1.564 GB, free: 1.879 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/1.184, allocations: 0.4996 MB / 1.564 GB, free: 1.375 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/1.185, allocations: 234.8 kB / 1.565 GB, free: 1.137 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.185, allocations: 353.9 kB / 1.565 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/1.186, allocations: 478.4 kB / 1.565 GB, free: 328 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/1.187, allocations: 0.634 MB / 1.566 GB, free: 15.64 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.19, allocations: 1.095 MB / 1.567 GB, free: 14.54 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.19, allocations: 4 kB / 1.567 GB, free: 14.54 MB / 1.248 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003786/1.194, allocations: 1.504 MB / 1.568 GB, free: 13.01 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.194, allocations: 8 kB / 1.568 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.194, allocations: 4.031 kB / 1.568 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009702/1.195, allocations: 188.2 kB / 1.569 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.196, allocations: 339.5 kB / 1.569 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00703/1.203, allocations: 7.273 MB / 1.576 GB, free: 4.488 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.205, allocations: 151.2 kB / 1.576 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/1.205, allocations: 51.95 kB / 1.576 GB, free: 4.289 MB / 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.001003/1.206, allocations: 381.5 kB / 1.577 GB, free: 3.906 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/1.206, allocations: 143.1 kB / 1.577 GB, free: 3.766 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/1.211, allocations: 1.839 MB / 1.579 GB, free: 1.898 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.211, allocations: 16 kB / 1.579 GB, free: 1.883 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.211, allocations: 0 / 1.579 GB, free: 1.883 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.211, allocations: 7.969 kB / 1.579 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/1.218, allocations: 3.456 MB / 1.582 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.218, allocations: 0 / 1.582 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.22, allocations: 319.6 kB / 1.582 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007985/1.22, allocations: 188.1 kB / 1.582 GB, free: 13.82 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.22, allocations: 39.97 kB / 1.583 GB, free: 13.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006728/1.227, allocations: 7.33 MB / 1.59 GB, free: 5.75 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.227, allocations: 0 / 1.59 GB, free: 5.75 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/1.231, allocations: 1.717 MB / 1.591 GB, free: 4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/1.232, allocations: 411.6 kB / 1.592 GB, free: 3.578 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/1.232, allocations: 35.94 kB / 1.592 GB, free: 3.543 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.234, allocations: 95.91 kB / 1.592 GB, free: 3.449 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/1.234, allocations: 121 kB / 1.592 GB, free: 3.332 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.234, allocations: 71.94 kB / 1.592 GB, free: 3.262 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001028/1.235, allocations: 0.6064 MB / 1.593 GB, free: 2.645 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.235, allocations: 0 / 1.593 GB, free: 2.645 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001773/1.237, allocations: 0.6039 MB / 1.593 GB, free: 2.039 MB / 1.264 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.006532/1.244, allocations: 2.882 MB / 1.596 GB, free: 15.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003582/1.247, allocations: 1.785 MB / 1.598 GB, free: 13.45 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.247, allocations: 4.562 kB / 1.598 GB, free: 13.45 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.249, allocations: 1.243 MB / 1.599 GB, free: 12.14 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.252, allocations: 0.5301 MB / 1.6 GB, free: 11.63 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.272, allocations: 10.04 MB / 1.609 GB, free: 1.418 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.273, allocations: 1.3 MB / 1.611 GB, free: 92 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00182/1.275, allocations: 442.4 kB / 1.611 GB, free: 15.65 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.276, allocations: 0.6554 MB / 1.612 GB, free: 15 MB / 1.295 GB Notification: Performance of SimCode: time 1.313e-06/1.276, allocations: 0 / 1.612 GB, free: 15 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.387, allocations: 38.16 MB / 1.649 GB, free: 9.223 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/16.24, allocations: 12.16 kB / 1.649 GB, free: 9.215 MB / 1.326 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.913390214031097]