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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001394/0.001394, 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.00142/0.001421, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 474.4 MB / 0.7465 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.42 kB / 0.9135 GB, free: 32.79 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3915, allocations: 160.3 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.004079/0.3957, allocations: 1.55 MB / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3978, allocations: 0.8336 MB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.3979, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.398, allocations: 3.938 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.3981, allocations: 15.86 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.3988, allocations: 123.8 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.399, allocations: 95.69 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3991, allocations: 15.98 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3992, allocations: 35.84 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3994, allocations: 47.81 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3994, allocations: 4 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3997, allocations: 111.9 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.3998, allocations: 19.91 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.3999, allocations: 35.8 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.4003, allocations: 187.8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4003, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4003, allocations: 3.938 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.4003, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 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.001114/0.4015, allocations: 478.5 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.4015, allocations: 12.03 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.4016, allocations: 8.844 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4019, allocations: 180.2 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.4019, allocations: 8.359 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.402, allocations: 8.375 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.4023, allocations: 85.89 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4024, allocations: 0 / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4024, allocations: 4 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4024, allocations: 0 / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.4027, allocations: 47.97 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.4037, allocations: 332.6 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.404, allocations: 82.56 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.4042, allocations: 48.84 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.4043, allocations: 4 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.4047, allocations: 87.36 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.4047, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0007933/0.4055, allocations: 189.6 kB / 1.075 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4056, allocations: 67.39 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.4058, allocations: 128.4 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4058, allocations: 29.7 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.4059, allocations: 92.14 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.4059, allocations: 23.66 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.406, allocations: 29.7 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4062, allocations: 326.8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4063, allocations: 23.98 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4065, allocations: 69.98 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.4068, allocations: 105.9 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4068, allocations: 0 / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003873/0.4072, allocations: 125.6 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4072, allocations: 8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4072, allocations: 0 / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.4073, allocations: 4 kB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4074, allocations: 23.86 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4074, allocations: 7.938 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4076, allocations: 4 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.4076, allocations: 4 kB / 1.076 GB, free: 2.633 MB / 0.8262 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.0001631/0.4078, allocations: 129.8 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4078, allocations: 11.89 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.4079, allocations: 4.719 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4079, allocations: 4 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.4079, allocations: 3.938 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4079, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.4088, allocations: 434.3 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4088, allocations: 4 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.4089, allocations: 7.984 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4089, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.4089, allocations: 4 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4089, allocations: 4 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4089, allocations: 3.938 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.4095, allocations: 243.3 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.4096, allocations: 89.02 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4096, allocations: 7.984 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.4098, allocations: 4 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.4099, allocations: 11.92 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4099, allocations: 4 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.41, allocations: 101 kB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.41, allocations: 0 / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006038/0.4106, allocations: 51.98 kB / 1.077 GB, free: 1.426 MB / 0.8262 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.0005135/0.4112, allocations: 184.2 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.4116, allocations: 87.83 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4116, allocations: 384 / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4118, allocations: 51.97 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.4123, allocations: 4 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.413, allocations: 231.7 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4133, allocations: 0.6926 MB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.79e-05/0.4134, allocations: 11.77 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.4135, allocations: 7.438 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4135, allocations: 0 / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of Templates: time 0.005775/0.4193, allocations: 1.805 MB / 1.08 GB, free: 14.34 MB / 0.8419 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