Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.1 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 202 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 250.2 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002895, allocations: 66.61 kB / 1.108 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3674, allocations: 168.7 MB / 1.273 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003069/0.3705, allocations: 1.52 MB / 1.274 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3721, allocations: 0.854 MB / 1.275 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.3721, allocations: 0 / 1.275 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.3722, allocations: 7.938 kB / 1.275 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.3722, allocations: 11.88 kB / 1.275 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.373, allocations: 155.5 kB / 1.275 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3731, allocations: 91.7 kB / 1.275 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3732, allocations: 11.98 kB / 1.275 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3733, allocations: 35.91 kB / 1.275 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.3734, allocations: 43.83 kB / 1.275 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3735, allocations: 12 kB / 1.275 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3738, allocations: 131.8 kB / 1.276 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.3738, allocations: 27.91 kB / 1.276 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.3739, allocations: 43.78 kB / 1.276 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3742, allocations: 179.7 kB / 1.276 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3742, allocations: 0 / 1.276 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3742, allocations: 3.938 kB / 1.276 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3742, allocations: 0 / 1.276 GB, free: 8.602 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000888/0.3751, allocations: 490.1 kB / 1.276 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3752, allocations: 16.02 kB / 1.276 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.3752, allocations: 30.75 kB / 1.276 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.3752, allocations: 8.891 kB / 1.276 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3754, allocations: 176.3 kB / 1.277 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.3755, allocations: 8.359 kB / 1.277 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3755, allocations: 8.312 kB / 1.277 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3757, allocations: 89.7 kB / 1.277 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3757, allocations: 0 / 1.277 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3758, allocations: 8 kB / 1.277 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3758, allocations: 3.984 kB / 1.277 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.376, allocations: 43.97 kB / 1.277 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.3766, allocations: 332.6 kB / 1.277 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.3768, allocations: 82.58 kB / 1.277 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.377, allocations: 44.83 kB / 1.277 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.377, allocations: 0 / 1.277 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.3772, allocations: 87.36 kB / 1.277 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3773, allocations: 0 / 1.277 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.3778, allocations: 189.5 kB / 1.277 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3779, allocations: 63.53 kB / 1.277 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.378, allocations: 128.9 kB / 1.278 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.378, allocations: 33.7 kB / 1.278 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.3781, allocations: 92.09 kB / 1.278 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.3781, allocations: 15.91 kB / 1.278 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3782, allocations: 33.7 kB / 1.278 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3783, allocations: 326.8 kB / 1.278 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.3784, allocations: 23.98 kB / 1.278 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3785, allocations: 65.98 kB / 1.278 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3787, allocations: 105.9 kB / 1.278 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3787, allocations: 0 / 1.278 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002675/0.379, allocations: 129.5 kB / 1.278 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.379, allocations: 4 kB / 1.278 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.379, allocations: 4 kB / 1.278 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.379, allocations: 3.938 kB / 1.278 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.3791, allocations: 19.92 kB / 1.278 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3791, allocations: 0 / 1.278 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.3792, allocations: 15.89 kB / 1.278 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3792, allocations: 12.19 kB / 1.278 GB, free: 5.672 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001221/0.3793, allocations: 122.3 kB / 1.279 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3793, allocations: 11.94 kB / 1.279 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.3794, allocations: 8.719 kB / 1.279 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3794, allocations: 3.938 kB / 1.279 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3794, allocations: 3.938 kB / 1.279 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3794, allocations: 0 / 1.279 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.38, allocations: 430.4 kB / 1.279 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.38, allocations: 0 / 1.279 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.3801, allocations: 7.984 kB / 1.279 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3801, allocations: 0 / 1.279 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3801, allocations: 12 kB / 1.279 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3801, allocations: 0 / 1.279 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3801, allocations: 7.875 kB / 1.279 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.3805, allocations: 239.4 kB / 1.279 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.3806, allocations: 89 kB / 1.279 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3806, allocations: 7.984 kB / 1.279 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3807, allocations: 8 kB / 1.279 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3808, allocations: 7.922 kB / 1.279 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3808, allocations: 4 kB / 1.279 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.785e-05/0.3809, allocations: 99.27 kB / 1.279 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3809, allocations: 4 kB / 1.279 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003388/0.3812, allocations: 51.86 kB / 1.279 GB, free: 4.473 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001045/0.3823, allocations: 0.8608 MB / 1.28 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3825, allocations: 83.89 kB / 1.28 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3825, allocations: 0 / 1.28 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3827, allocations: 43.91 kB / 1.28 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.383, allocations: 22.44 kB / 1.28 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3849, allocations: 1.598 MB / 1.282 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3853, allocations: 0.6963 MB / 1.283 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.15e-05/0.3853, allocations: 7.984 kB / 1.283 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.3854, allocations: 23.44 kB / 1.283 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3854, allocations: 0 / 1.283 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.412, allocations: 3.22 MB / 1.286 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.665, allocations: 9.062 kB / 1.286 GB, free: 13.88 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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: 14.989935142919421]