Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.0011/0.0011, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001051/0.001051, allocations: 187 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8032, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002401/0.8057, allocations: 1.499 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.8069, allocations: 0.8298 MB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.807, allocations: 0.9688 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.807, allocations: 9.188 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.8071, allocations: 10.53 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.8077, allocations: 155.6 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.8078, allocations: 93.34 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.8079, allocations: 16.08 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.808, allocations: 33.62 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.8081, allocations: 53.52 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.8081, allocations: 8 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.8084, allocations: 124.6 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.8084, allocations: 20.12 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.8084, allocations: 41.67 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.8087, allocations: 183.4 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8087, allocations: 4.969 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8087, allocations: 0 / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8088, allocations: 0 / 1.092 GB, free: 3.566 MB / 0.8575 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.000641/0.8094, allocations: 479.8 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.8094, allocations: 9.797 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.8095, allocations: 9.562 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.8096, allocations: 181.5 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8096, allocations: 8.469 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.8096, allocations: 8.297 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.8099, allocations: 85.8 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.8099, allocations: 0 / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8099, allocations: 5.406 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.8099, allocations: 1.5 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.8101, allocations: 47.81 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.8106, allocations: 331 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.8108, allocations: 77.5 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.8109, allocations: 44.34 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.811, allocations: 6.031 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.8112, allocations: 96.58 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.8112, allocations: 0 / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000514/0.8117, allocations: 184.4 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.8118, allocations: 58.08 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.8119, allocations: 142.4 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.8119, allocations: 26.7 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.8119, allocations: 92.95 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.8119, allocations: 20.88 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.812, allocations: 29.95 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.812, allocations: 324.7 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.8121, allocations: 22.86 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.8122, allocations: 80.83 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.8124, allocations: 104.1 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8124, allocations: 0.75 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.8126, allocations: 123.8 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8126, allocations: 5.938 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8127, allocations: 6.391 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8127, allocations: 2.25 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.8128, allocations: 17.44 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8128, allocations: 3.016 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.8129, allocations: 13.89 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.8129, allocations: 4.688 kB / 1.094 GB, free: 1.406 MB / 0.8575 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 6.907e-05/0.8129, allocations: 129.4 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.813, allocations: 7.891 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.813, allocations: 15.81 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.813, allocations: 1.547 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.813, allocations: 0.75 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.813, allocations: 1.484 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.8135, allocations: 430.9 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.8135, allocations: 0 / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.8136, allocations: 4.781 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8136, allocations: 5.719 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.8136, allocations: 2.734 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8136, allocations: 0.6562 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8136, allocations: 4.75 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.814, allocations: 240.9 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.814, allocations: 84.03 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.814, allocations: 2.406 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.8141, allocations: 11.97 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.8142, allocations: 13.39 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.8142, allocations: 8.766 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.8143, allocations: 106.4 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8143, allocations: 0 / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003349/0.8146, allocations: 49.94 kB / 1.095 GB, free: 0.5234 MB / 0.8575 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.0003244/0.8149, allocations: 183.6 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.8152, allocations: 87.09 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8152, allocations: 0 / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8154, allocations: 55.42 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.8156, allocations: 14.45 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.8161, allocations: 222.9 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.8163, allocations: 0.6918 MB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.8164, allocations: 11.44 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8164, allocations: 0.75 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.004393/0.8208, allocations: 1.855 MB / 1.098 GB, free: 15.27 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches