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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001509/0.001514, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001527/0.001527, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 482.2 MB / 0.7548 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 61.12 kB / 0.9238 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7287, allocations: 162.2 MB / 1.082 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002447/0.7312, allocations: 1.561 MB / 1.084 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7323, allocations: 0.8155 MB / 1.084 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.7324, allocations: 0.7188 kB / 1.084 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.7324, allocations: 9.062 kB / 1.084 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.7325, allocations: 6.828 kB / 1.084 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.733, allocations: 135.8 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.7331, allocations: 93.16 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.903e-05/0.7332, allocations: 16.8 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.7333, allocations: 40.53 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.7334, allocations: 45.64 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.7334, allocations: 9.219 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.7337, allocations: 127.4 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.7337, allocations: 24.47 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.7338, allocations: 38.53 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.734, allocations: 128.3 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.734, allocations: 0.6562 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.734, allocations: 0.625 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.734, allocations: 0 / 1.085 GB, free: 15.82 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.0007384/0.7348, allocations: 485.6 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.7348, allocations: 9.875 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.7349, allocations: 14.22 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.735, allocations: 175.1 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.735, allocations: 3.188 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.7351, allocations: 9.812 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.7353, allocations: 93.25 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7353, allocations: 3.938 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7353, allocations: 0.7031 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7353, allocations: 1 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.7355, allocations: 49.08 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.7361, allocations: 330.8 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.7363, allocations: 82.59 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.7365, allocations: 43.7 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.7365, allocations: 1.438 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.7367, allocations: 97.5 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7368, allocations: 3.938 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005281/0.7373, allocations: 183.8 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.7373, allocations: 53.91 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.7375, allocations: 137 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.7375, allocations: 31.77 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.7376, allocations: 96.62 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.7376, allocations: 17.36 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.7376, allocations: 25.67 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7378, allocations: 328.1 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.7379, allocations: 22.66 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.738, allocations: 74.58 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.7382, allocations: 100.2 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7382, allocations: 1.156 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002407/0.7384, allocations: 132.3 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7384, allocations: 5.875 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7385, allocations: 6.719 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7385, allocations: 1.281 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.7386, allocations: 13.55 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.7386, allocations: 7.234 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.7387, allocations: 14.25 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.7387, allocations: 8.281 kB / 1.088 GB, free: 13.65 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 0.0001035/0.7388, allocations: 125.9 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.7388, allocations: 7.656 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.7388, allocations: 10.75 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7388, allocations: 2.141 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7389, allocations: 5.188 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.7389, allocations: 4.031 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.7395, allocations: 435.4 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7395, allocations: 0 / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.7395, allocations: 5.422 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7395, allocations: 0.7188 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.7396, allocations: 7.516 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7396, allocations: 0 / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7396, allocations: 10.55 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.74, allocations: 239.3 kB / 1.088 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.74, allocations: 84.67 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.7401, allocations: 5.828 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.7402, allocations: 8.547 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.7402, allocations: 12.45 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7403, allocations: 5.625 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.706e-05/0.7403, allocations: 103.9 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7403, allocations: 3.938 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003228/0.7407, allocations: 49.81 kB / 1.089 GB, free: 12.76 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.0003582/0.741, allocations: 167.7 kB / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.7413, allocations: 86.44 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7413, allocations: 0.9062 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.7415, allocations: 51.48 kB / 1.089 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.7417, allocations: 19.2 kB / 1.089 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.7422, allocations: 252.5 kB / 1.089 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.7425, allocations: 0.6941 MB / 1.09 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.7425, allocations: 12.8 kB / 1.09 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of SimCode: time 2.013e-06/0.7426, allocations: 4 kB / 1.09 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of Templates: time 0.003908/0.7465, allocations: 1.843 MB / 1.092 GB, free: 11.49 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