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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001481/0.00148, allocations: 103.1 kB / 16.27 MB, free: 5.895 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.001292/0.001292, allocations: 187.5 kB / 17.19 MB, free: 5.539 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.538/2.538, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 55.56 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002759/0.2828, allocations: 1.509 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2843, allocations: 0.8295 MB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.2844, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.2844, allocations: 11.86 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.2845, allocations: 11.88 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.2852, allocations: 155.5 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.2853, allocations: 95.7 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2854, allocations: 8 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2856, allocations: 43.89 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.2857, allocations: 47.83 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2857, allocations: 8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.286, allocations: 119.8 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.286, allocations: 23.91 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.2861, allocations: 39.78 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.2864, allocations: 179.8 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2864, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2864, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2864, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 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.000789/0.2872, allocations: 482.4 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2873, allocations: 12.03 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.2873, allocations: 8.844 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2875, allocations: 180.2 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.2875, allocations: 8.359 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2875, allocations: 8.375 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2877, allocations: 85.95 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2878, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2878, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2878, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.288, allocations: 47.97 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.2885, allocations: 328.6 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.2888, allocations: 78.55 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.2889, allocations: 44.77 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2889, allocations: 8.141 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.2892, allocations: 99.39 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.2892, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005142/0.2897, allocations: 181.5 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2898, allocations: 55.39 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2899, allocations: 136.9 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2899, allocations: 29.7 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.29, allocations: 92.14 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.29, allocations: 19.73 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.29, allocations: 29.7 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2902, allocations: 326.8 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.2903, allocations: 27.98 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.2904, allocations: 77.92 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2905, allocations: 97.94 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2906, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.2908, allocations: 133.4 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2908, allocations: 4 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2909, allocations: 4.172 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2909, allocations: 11.94 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.291, allocations: 15.98 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.291, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.2911, allocations: 11.91 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2911, allocations: 8 kB / 1.07 GB, free: 9.066 MB / 0.8419 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.921e-05/0.2912, allocations: 125.7 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2912, allocations: 11.89 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2912, allocations: 12.72 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2912, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2913, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2913, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.2918, allocations: 434.3 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2918, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.2919, allocations: 7.984 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2919, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2919, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2919, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2919, allocations: 3.938 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.2923, allocations: 239.4 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.2923, allocations: 85.02 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.2924, allocations: 3.984 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2925, allocations: 16 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2925, allocations: 11.86 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2926, allocations: 7.938 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.2926, allocations: 99.27 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2926, allocations: 0 / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003475/0.293, allocations: 47.98 kB / 1.071 GB, free: 7.871 MB / 0.8419 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.0003768/0.2934, allocations: 179.4 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.2936, allocations: 87.88 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2937, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2938, allocations: 47.91 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2941, allocations: 12.38 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.2946, allocations: 231.3 kB / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.2948, allocations: 0.6961 MB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2949, allocations: 15.42 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2949, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.003798/0.2987, allocations: 1.845 MB / 1.074 GB, free: 4.719 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/jenkins1/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