Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 183.2 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 103.8 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 8.672 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.5167, allocations: 151.4 MB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.517, allocations: 79.95 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.5278, allocations: 3.5 MB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5278, allocations: 0 / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.5278, allocations: 4 kB / 1.374 GB, free: 7.168 MB / 0.8698 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.0006597/0.5285, allocations: 474.3 kB / 1.375 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5286, allocations: 12.03 kB / 1.375 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.5286, allocations: 19.86 kB / 1.375 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.5288, allocations: 182.8 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.5288, allocations: 4 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5289, allocations: 8 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5291, allocations: 81.64 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5291, allocations: 3.938 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5291, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5292, allocations: 7.953 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.5293, allocations: 63.89 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.53, allocations: 332.8 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.5302, allocations: 78.55 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.5303, allocations: 4 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.5305, allocations: 107.2 kB / 1.375 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5305, allocations: 0 / 1.375 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.531, allocations: 201.8 kB / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.5311, allocations: 51.41 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.5312, allocations: 127.8 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.5313, allocations: 29.7 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.5314, allocations: 100.1 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.5314, allocations: 15.75 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.5314, allocations: 4 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5316, allocations: 326.8 kB / 1.376 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.5317, allocations: 27.98 kB / 1.376 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.5318, allocations: 66 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.5319, allocations: 39.98 kB / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5319, allocations: 0 / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00025/0.5322, allocations: 137.4 kB / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5322, allocations: 5.406 kB / 1.377 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5322, allocations: 7.953 kB / 1.377 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5323, allocations: 0 / 1.377 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.5324, allocations: 12 kB / 1.377 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5324, allocations: 7.984 kB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.5324, allocations: 16.09 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.5325, allocations: 4 kB / 1.377 GB, free: 4.414 MB / 0.8698 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.5326, allocations: 125.8 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.5326, allocations: 7.906 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.5327, allocations: 8.703 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5327, allocations: 3.953 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5327, allocations: 4 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5327, allocations: 0 / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.5333, allocations: 442.4 kB / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5333, allocations: 0 / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.5334, allocations: 7.984 kB / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5334, allocations: 3.953 kB / 1.377 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5334, allocations: 12 kB / 1.377 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5334, allocations: 0 / 1.377 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5334, allocations: 3.938 kB / 1.377 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.5339, allocations: 255.4 kB / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.5339, allocations: 81.02 kB / 1.378 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.534, allocations: 7.953 kB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5341, allocations: 12.03 kB / 1.378 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.5342, allocations: 15.91 kB / 1.378 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.5342, allocations: 8 kB / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.5343, allocations: 99.27 kB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5343, allocations: 3.938 kB / 1.378 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003865/0.5347, allocations: 59.98 kB / 1.378 GB, free: 3.176 MB / 0.8698 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,ac.occ,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004767/0.5352, allocations: 184.3 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.5355, allocations: 96.86 kB / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5355, allocations: 0 / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5356, allocations: 59.89 kB / 1.378 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.5358, allocations: 4 kB / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.5364, allocations: 237.2 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5368, allocations: 0.6965 MB / 1.379 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.5368, allocations: 11.78 kB / 1.379 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.5369, allocations: 11.44 kB / 1.379 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/0.5369, allocations: 0 / 1.379 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.004711/0.5416, allocations: 1.929 MB / 1.381 GB, free: 15.93 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches