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.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 67.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6832, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002877/0.6861, allocations: 1.49 MB / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.6878, allocations: 0.8302 MB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.688, allocations: 1.406 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.688, allocations: 3.938 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.6882, allocations: 17.94 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.6892, allocations: 151.3 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.6894, allocations: 93.39 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.6895, allocations: 13.81 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.6897, allocations: 48 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.6898, allocations: 44.42 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.6899, allocations: 8.625 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.6902, allocations: 126.5 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.6903, allocations: 19.2 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.6904, allocations: 36.98 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.6909, allocations: 189.7 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6909, allocations: 4 kB / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6909, allocations: 0 / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6909, allocations: 1.125 kB / 0.9526 GB, free: 6.793 MB / 0.7169 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.000837/0.6917, allocations: 472.9 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6918, allocations: 10.34 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.6919, allocations: 8.969 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.692, allocations: 190.6 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.6921, allocations: 7.953 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.6921, allocations: 4.312 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.6924, allocations: 91.55 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6924, allocations: 0 / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.6924, allocations: 1.438 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.6924, allocations: 5.359 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.6926, allocations: 54.56 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.6931, allocations: 317.5 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.6934, allocations: 87.72 kB / 0.9538 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.6935, allocations: 46.08 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.6935, allocations: 5.531 kB / 0.9538 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.6938, allocations: 91.23 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.6938, allocations: 1.156 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.6943, allocations: 191.2 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6944, allocations: 53.91 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.6945, allocations: 133.4 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6945, allocations: 31.17 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.6946, allocations: 94.89 kB / 0.9544 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.6946, allocations: 15.95 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.6947, allocations: 29.77 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.6948, allocations: 321.2 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-05/0.6949, allocations: 38.28 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.695, allocations: 68.66 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.6952, allocations: 105.3 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6952, allocations: 0 / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002545/0.6954, allocations: 127.4 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6955, allocations: 5.312 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6955, allocations: 2.656 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6955, allocations: 2.719 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.6956, allocations: 18.2 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6956, allocations: 1.438 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.6957, allocations: 16.22 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.6957, allocations: 8.734 kB / 0.9551 GB, free: 4.43 MB / 0.7169 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 8.59e-05/0.6958, allocations: 125 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.6958, allocations: 2.844 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.6959, allocations: 10.84 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6959, allocations: 1 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6959, allocations: 5.281 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6959, allocations: 0 / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.6964, allocations: 433.4 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6964, allocations: 5.344 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.6964, allocations: 2.844 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6965, allocations: 0.9375 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6965, allocations: 5.266 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6965, allocations: 1.375 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6965, allocations: 3.938 kB / 0.9557 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.6968, allocations: 254 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.6968, allocations: 90.23 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.6969, allocations: 1.312 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.697, allocations: 13.3 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.697, allocations: 7.656 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.697, allocations: 6.266 kB / 0.956 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.6971, allocations: 105.8 kB / 0.9561 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6971, allocations: 0 / 0.9561 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003389/0.6974, allocations: 47.5 kB / 0.9562 GB, free: 3.465 MB / 0.7169 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.0003319/0.6978, allocations: 178.9 kB / 0.9564 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.698, allocations: 94.44 kB / 0.9564 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6981, allocations: 5.469 kB / 0.9564 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.6982, allocations: 46.53 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.6985, allocations: 9.609 kB / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.6989, allocations: 204.6 kB / 0.9567 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.699, allocations: 0.694 MB / 0.9574 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.6991, allocations: 11.56 kB / 0.9574 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.6991, allocations: 10.94 kB / 0.9574 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6991, allocations: 1.312 kB / 0.9574 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.004475/0.7036, allocations: 1.887 MB / 0.9592 GB, free: 1.418 MB / 0.7169 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/jenkins/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