Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006189/0.006189, allocations: 98.16 kB / 15.73 MB, free: 6.031 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.001086/0.001087, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.89 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3814, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00352/0.385, allocations: 1.497 MB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3867, allocations: 0.826 MB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.3868, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.3868, allocations: 11.86 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.387, allocations: 7.875 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.3879, allocations: 159.5 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3881, allocations: 91.7 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3882, allocations: 15.98 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3883, allocations: 43.91 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3885, allocations: 43.83 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3885, allocations: 8 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.3888, allocations: 131.8 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.3889, allocations: 19.92 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.389, allocations: 35.8 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3893, allocations: 183.5 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3894, allocations: 8 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3894, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3894, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 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.00086/0.3902, allocations: 475.8 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3903, allocations: 12.03 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.3904, allocations: 8.844 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3905, allocations: 184.2 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3906, allocations: 12.31 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3906, allocations: 8.375 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3908, allocations: 85.95 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3909, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3909, allocations: 7.984 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3909, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3911, allocations: 55.89 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.3917, allocations: 324.7 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3919, allocations: 82.53 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.392, allocations: 36.84 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.3921, allocations: 12.08 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.3923, allocations: 95.3 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3923, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.3929, allocations: 185.6 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3929, allocations: 55.41 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3931, allocations: 140.5 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3931, allocations: 29.7 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3931, allocations: 96.05 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3932, allocations: 19.73 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.3932, allocations: 33.64 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3934, allocations: 322.8 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.3935, allocations: 23.98 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3936, allocations: 73.98 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3938, allocations: 101.9 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3938, allocations: 0 / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002458/0.394, allocations: 125.4 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.394, allocations: 8.188 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3941, allocations: 7.938 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.3941, allocations: 4 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.3942, allocations: 11.98 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3942, allocations: 7.938 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3943, allocations: 8 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3943, allocations: 4 kB / 1.213 GB, free: 3.695 MB / 0.9669 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.0001123/0.3944, allocations: 125.8 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.3944, allocations: 11.91 kB / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3945, allocations: 8.719 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3945, allocations: 7.938 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3945, allocations: 0 / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3945, allocations: 0 / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.3951, allocations: 442.2 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3951, allocations: 0 / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.3952, allocations: 4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3952, allocations: 4 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3952, allocations: 3.984 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3952, allocations: 0 / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3952, allocations: 3.938 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.3956, allocations: 247.3 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.3957, allocations: 85.02 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3957, allocations: 4 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3958, allocations: 15.98 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3959, allocations: 7.938 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3959, allocations: 7.984 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.396, allocations: 101.7 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003514/0.3963, allocations: 48 kB / 1.214 GB, free: 2.488 MB / 0.9669 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.0004141/0.3968, allocations: 183.9 kB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.3971, allocations: 87.89 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3971, allocations: 0 / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3972, allocations: 48.28 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3975, allocations: 18.48 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.398, allocations: 208.2 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3982, allocations: 0.6924 MB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.3983, allocations: 4 kB / 1.216 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3983, allocations: 19.44 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3983, allocations: 0 / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of Templates: time 0.005237/0.4035, allocations: 1.919 MB / 1.217 GB, free: 15.29 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches