Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 193.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.889/2.889, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 69.38 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002866/0.379, allocations: 1.57 MB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3804, allocations: 0.8412 MB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.3805, allocations: 0 / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.3805, allocations: 7.922 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.3806, allocations: 11.88 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.3813, allocations: 127.7 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3814, allocations: 83.7 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.3815, allocations: 12 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3816, allocations: 47.83 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.3817, allocations: 39.83 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3817, allocations: 4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.382, allocations: 115.9 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.382, allocations: 23.91 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3821, allocations: 39.78 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.3824, allocations: 171.8 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3824, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3824, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3824, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 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.0008/0.3832, allocations: 483.7 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3833, allocations: 19.97 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.3833, allocations: 16.83 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3835, allocations: 172.2 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3835, allocations: 8.375 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3835, allocations: 4.375 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3838, allocations: 89.88 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3838, allocations: 4 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3838, allocations: 3.984 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3838, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.384, allocations: 51.97 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.3846, allocations: 320.8 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3849, allocations: 86.56 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.385, allocations: 44.83 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3851, allocations: 4 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3853, allocations: 87.36 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3859, allocations: 193.5 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.386, allocations: 51.41 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3861, allocations: 134 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3861, allocations: 25.7 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.3862, allocations: 96.28 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3862, allocations: 23.73 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.3863, allocations: 29.7 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3864, allocations: 330.8 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.3865, allocations: 23.98 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3867, allocations: 66 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3869, allocations: 105.9 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3869, allocations: 0 / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002699/0.3871, allocations: 129.4 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3872, allocations: 5.25 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3872, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3872, allocations: 4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.3873, allocations: 19.92 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3873, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.3874, allocations: 15.83 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3874, allocations: 8.312 kB / 1.058 GB, free: 2.875 MB / 0.8106 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.00011/0.3876, allocations: 132.2 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.3876, allocations: 11.84 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.3876, allocations: 8.719 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3876, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3876, allocations: 3.984 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3877, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.3883, allocations: 438.3 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3883, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3883, allocations: 4 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3884, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3884, allocations: 3.984 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3884, allocations: 7.938 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3884, allocations: 7.938 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.3888, allocations: 243.4 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.3889, allocations: 85.02 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3889, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.389, allocations: 11.98 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3891, allocations: 11.92 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3891, allocations: 4 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.3892, allocations: 95.27 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3892, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003543/0.3896, allocations: 55.98 kB / 1.059 GB, free: 1.672 MB / 0.8106 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.0003759/0.39, allocations: 175.1 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3902, allocations: 92 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3903, allocations: 3.938 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3904, allocations: 47.97 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3907, allocations: 11.98 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.3911, allocations: 228 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3914, allocations: 0.6926 MB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.3915, allocations: 4 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3915, allocations: 15.42 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3915, allocations: 0 / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of Templates: time 0.004849/0.3964, allocations: 1.799 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches