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.006848/0.006848, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001109/0.001109, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.36 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9042, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002453/0.9067, allocations: 1.505 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.908, allocations: 0.8217 MB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.9081, allocations: 4 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.9081, allocations: 7.922 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.9082, allocations: 23.73 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.9089, allocations: 147.5 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.9091, allocations: 87.77 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.9092, allocations: 19.97 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.9094, allocations: 43.8 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.9095, allocations: 47.81 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.9095, allocations: 8 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.9098, allocations: 123.9 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.9098, allocations: 23.92 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.9099, allocations: 35.8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.9102, allocations: 183.3 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9102, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9102, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9102, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 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.0008192/0.9111, allocations: 484.4 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9111, allocations: 8.031 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.9112, allocations: 8.844 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.9113, allocations: 184.2 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.9114, allocations: 4.312 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.9114, allocations: 8.375 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.9116, allocations: 89.89 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9117, allocations: 4 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9117, allocations: 0 / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9117, allocations: 4 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.9119, allocations: 47.95 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.9125, allocations: 320.8 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.9127, allocations: 94.45 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.9129, allocations: 40.84 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.9129, allocations: 0 / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.9131, allocations: 95.34 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.9132, allocations: 4 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.9137, allocations: 189.6 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.9138, allocations: 55.41 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.9139, allocations: 138 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.9139, allocations: 25.7 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.914, allocations: 96.08 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.914, allocations: 19.8 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.9141, allocations: 33.7 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9142, allocations: 318.8 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.9143, allocations: 23.98 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.9144, allocations: 73.23 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.9146, allocations: 105.9 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.9146, allocations: 4 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.9149, allocations: 129.3 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.9149, allocations: 4 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9149, allocations: 4 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.9149, allocations: 4 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.915, allocations: 19.92 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.915, allocations: 4 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.9151, allocations: 12.12 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.9151, allocations: 4 kB / 1.213 GB, free: 7.664 MB / 0.9356 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.000113/0.9153, allocations: 135.5 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.9153, allocations: 7.906 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.9153, allocations: 8.719 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9153, allocations: 3.938 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9153, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9153, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.9159, allocations: 438.3 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9159, allocations: 0 / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.916, allocations: 4 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.916, allocations: 4 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.916, allocations: 7.922 kB / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.916, allocations: 0 / 1.214 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.916, allocations: 3.938 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.9164, allocations: 247.5 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.9164, allocations: 81.02 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.9165, allocations: 4 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.9166, allocations: 7.984 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.9166, allocations: 7.938 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.9167, allocations: 3.984 kB / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.9167, allocations: 111.2 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9167, allocations: 0 / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003152/0.917, allocations: 47.91 kB / 1.214 GB, free: 6.457 MB / 0.9356 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.0003645/0.9174, allocations: 183.1 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.9177, allocations: 91.88 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9177, allocations: 0 / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.9178, allocations: 47.97 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.9181, allocations: 13.7 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.9186, allocations: 204.5 kB / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.9188, allocations: 0.6962 MB / 1.215 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.9189, allocations: 4 kB / 1.215 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.9189, allocations: 11.44 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.9189, allocations: 0 / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.004636/0.9236, allocations: 1.898 MB / 1.217 GB, free: 3.285 MB / 0.9356 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