Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_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.00145/0.00145, allocations: 108.5 kB / 16.37 MB, free: 6.414 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.001633/0.001633, allocations: 197.4 kB / 17.31 MB, free: 5.805 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.28 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2719, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002998/0.2749, allocations: 1.515 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2764, allocations: 0.8332 MB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.2765, allocations: 4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.2765, allocations: 3.938 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.2766, allocations: 15.8 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.2772, allocations: 155.5 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2773, allocations: 87.7 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.2774, allocations: 12 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.2775, allocations: 43.89 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.2776, allocations: 51.7 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2776, allocations: 12 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.2779, allocations: 119.9 kB / 1.03 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.2779, allocations: 23.95 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.278, allocations: 35.8 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.2782, allocations: 191.4 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2783, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2783, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2783, allocations: 4 kB / 1.03 GB, free: 14.98 MB / 0.8106 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.0007467/0.279, allocations: 482.5 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2791, allocations: 12.03 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2791, allocations: 8.844 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2793, allocations: 172.2 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.2793, allocations: 12.36 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.2793, allocations: 4.375 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2796, allocations: 85.89 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2796, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2796, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2796, allocations: 8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2798, allocations: 39.97 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.2804, allocations: 328.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.2806, allocations: 86.58 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2807, allocations: 44.77 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.2808, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.2809, allocations: 99.27 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.281, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.2815, allocations: 189.4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2815, allocations: 59.55 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2817, allocations: 130.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2817, allocations: 29.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.2818, allocations: 92.12 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.2818, allocations: 19.75 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2819, allocations: 29.7 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.282, allocations: 330.8 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.2821, allocations: 23.98 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2822, allocations: 69.98 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.2824, allocations: 101.9 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2824, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.2827, allocations: 129.4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2827, allocations: 8 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2827, allocations: 4 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2827, allocations: 4 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.2828, allocations: 15.92 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2828, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.2829, allocations: 11.91 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2829, allocations: 4 kB / 1.032 GB, free: 12.11 MB / 0.8106 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.43e-05/0.283, allocations: 133 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.283, allocations: 11.89 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2831, allocations: 12.75 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2831, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2831, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2831, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.2836, allocations: 434.4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2837, allocations: 0 / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.2837, allocations: 3.984 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2837, allocations: 4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2837, allocations: 0 / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2837, allocations: 3.938 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2837, allocations: 3.938 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.2841, allocations: 247.8 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.2842, allocations: 81.02 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2842, allocations: 7.984 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2843, allocations: 7.938 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.2844, allocations: 15.92 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2844, allocations: 7.938 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.2845, allocations: 95.27 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2845, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003258/0.2848, allocations: 55.98 kB / 1.033 GB, free: 10.91 MB / 0.8106 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.000341/0.2852, allocations: 176.8 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2854, allocations: 88.2 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2854, allocations: 0 / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.2856, allocations: 47.97 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2859, allocations: 12 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.2863, allocations: 200.2 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2866, allocations: 0.6963 MB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.2866, allocations: 7.984 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.2866, allocations: 11.44 kB / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2866, allocations: 0 / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of Templates: time 0.004688/0.2913, allocations: 1.888 MB / 1.036 GB, free: 7.754 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches