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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 102.4 kB / 16.27 MB, free: 6.418 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.002001/0.002002, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.266/2.266, allocations: 390.3 MB / 0.6653 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 60.59 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002844/0.2474, allocations: 1.497 MB / 0.9517 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2489, allocations: 0.8295 MB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.2489, allocations: 0 / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.249, allocations: 7.875 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.2491, allocations: 15.8 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.2498, allocations: 147.5 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2499, allocations: 95.75 kB / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.25, allocations: 15.97 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/0.2501, allocations: 43.8 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.2502, allocations: 51.81 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2502, allocations: 8 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2505, allocations: 119.9 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.2505, allocations: 19.92 kB / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.2506, allocations: 39.84 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.2509, allocations: 195.7 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2509, allocations: 4 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2509, allocations: 0 / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2509, allocations: 0 / 0.9533 GB, free: 5.758 MB / 0.7325 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.0007575/0.2517, allocations: 478.5 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2517, allocations: 12.03 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.2518, allocations: 8.844 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2519, allocations: 183.3 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.2519, allocations: 8.375 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.252, allocations: 4.375 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.2522, allocations: 89.89 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2522, allocations: 0 / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2522, allocations: 4 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2522, allocations: 0 / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2524, allocations: 51.95 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.2529, allocations: 316.8 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2532, allocations: 86.56 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2533, allocations: 44.78 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2533, allocations: 11.98 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.2535, allocations: 95.48 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2536, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005005/0.2541, allocations: 181.5 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2541, allocations: 59.41 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2542, allocations: 134 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2543, allocations: 29.7 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.2543, allocations: 92.14 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2544, allocations: 23.73 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2544, allocations: 29.7 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2545, allocations: 322.8 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.2546, allocations: 19.98 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2547, allocations: 73.98 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.2549, allocations: 109.9 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2549, allocations: 0 / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002517/0.2552, allocations: 117.4 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2552, allocations: 8.188 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2552, allocations: 4 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2552, allocations: 7.938 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.2553, allocations: 19.92 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2553, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.2554, allocations: 11.91 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2554, allocations: 4 kB / 0.9558 GB, free: 2.891 MB / 0.7325 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 9.381e-05/0.2555, allocations: 125.8 kB / 0.9559 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2556, allocations: 19.89 kB / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.2556, allocations: 4.719 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2556, allocations: 7.938 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2556, allocations: 0 / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2556, allocations: 0 / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.2562, allocations: 438.3 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2562, allocations: 0 / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.2563, allocations: 4 kB / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2563, allocations: 4 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2563, allocations: 7.984 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2563, allocations: 4 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2563, allocations: 11.81 kB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.2567, allocations: 239.4 kB / 0.9566 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.2567, allocations: 85.02 kB / 0.9567 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2568, allocations: 8 kB / 0.9567 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2569, allocations: 7.984 kB / 0.9567 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2569, allocations: 7.938 kB / 0.9567 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2569, allocations: 7.984 kB / 0.9567 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.257, allocations: 101.9 kB / 0.9568 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.257, allocations: 0 / 0.9568 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003344/0.2574, allocations: 48 kB / 0.9569 GB, free: 1.684 MB / 0.7325 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.0003607/0.2577, allocations: 173.3 kB / 0.957 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.258, allocations: 91.83 kB / 0.9571 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.258, allocations: 0 / 0.9571 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2582, allocations: 48.81 kB / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2584, allocations: 18.2 kB / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.2589, allocations: 233.8 kB / 0.9574 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2591, allocations: 0.6962 MB / 0.9581 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.2592, allocations: 11.44 kB / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.2592, allocations: 4 kB / 0.9581 GB, free: 372 kB / 0.7325 GB Notification: Performance of Templates: time 0.0035/0.2627, allocations: 1.831 MB / 0.9599 GB, free: 14.54 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches