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.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.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.0009172/0.0009171, allocations: 92.16 kB / 16.02 MB, free: 80 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.001026/0.001026, allocations: 173 kB / 16.92 MB, free: 6.652 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.575/2.575, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 7.375 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2777, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001711/0.2794, allocations: 1.221 MB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2809, allocations: 0.818 MB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.281, allocations: 0 / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.281, allocations: 3.938 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.2811, allocations: 15.91 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.2816, allocations: 127.7 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2818, allocations: 83.72 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.2819, allocations: 19.97 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.282, allocations: 27.92 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.2821, allocations: 47.83 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.2821, allocations: 7.984 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2823, allocations: 119.8 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.2824, allocations: 19.92 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.2824, allocations: 57.5 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2827, allocations: 124 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2827, allocations: 4 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2827, allocations: 3.984 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.2827, allocations: 0 / 1.062 GB, free: 2.262 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.0006762/0.2834, allocations: 474.6 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2834, allocations: 15.97 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.2835, allocations: 8.844 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2836, allocations: 178.5 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2836, allocations: 8.375 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2837, allocations: 4.375 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.2839, allocations: 97.83 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2839, allocations: 4 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2839, allocations: 0 / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.2839, allocations: 3.984 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2841, allocations: 59.95 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.2847, allocations: 328.6 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.2849, allocations: 86.53 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.285, allocations: 52.84 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2851, allocations: 4.141 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2853, allocations: 95.36 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.562e-06/0.2853, allocations: 4 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005103/0.2858, allocations: 201.5 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2859, allocations: 59.39 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.286, allocations: 130.1 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.286, allocations: 25.7 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2861, allocations: 92.14 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.2861, allocations: 31.62 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2861, allocations: 17.72 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2863, allocations: 326.8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.2864, allocations: 27.98 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2865, allocations: 73.98 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2867, allocations: 109.9 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2867, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000253/0.2869, allocations: 137.4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.287, allocations: 5.562 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.287, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.287, allocations: 7.938 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.2871, allocations: 15.94 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2871, allocations: 8.172 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.2872, allocations: 12 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2872, allocations: 8.312 kB / 1.065 GB, free: 15.32 MB / 0.8262 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.238e-05/0.2873, allocations: 128.4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.2873, allocations: 7.906 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2873, allocations: 12.7 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2873, allocations: 0 / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2874, allocations: 4 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2874, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.2879, allocations: 446.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2879, allocations: 0 / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.288, allocations: 11.92 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.288, allocations: 7.938 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.288, allocations: 4 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.288, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.288, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2884, allocations: 255.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2885, allocations: 81.02 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2885, allocations: 7.984 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2886, allocations: 8 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2886, allocations: 11.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2887, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.2887, allocations: 95.27 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2887, allocations: 4 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003211/0.289, allocations: 51.98 kB / 1.066 GB, free: 14.1 MB / 0.8262 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.0003455/0.2894, allocations: 176.6 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2897, allocations: 95.88 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2897, allocations: 0 / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2898, allocations: 47.98 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2901, allocations: 25.17 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.2905, allocations: 254.8 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2908, allocations: 0.6887 MB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.2908, allocations: 15.44 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.2908, allocations: 0 / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of Templates: time 0.003713/0.2945, allocations: 1.827 MB / 1.069 GB, free: 10.93 MB / 0.8262 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