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.001043/0.001043, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001207/0.001207, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.951/2.951, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 8.594 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3883, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001696/0.3901, allocations: 1.217 MB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3914, allocations: 0.7601 MB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.3915, allocations: 3.938 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.3915, allocations: 3.984 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.3916, allocations: 11.88 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.3921, allocations: 119.7 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3922, allocations: 83.77 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.3923, allocations: 4 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.3924, allocations: 43.83 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.3925, allocations: 43.83 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3925, allocations: 4 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3927, allocations: 111.8 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.3928, allocations: 15.91 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.3928, allocations: 41.64 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.393, allocations: 132 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.393, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.864e-06/0.393, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.393, allocations: 0 / 1.061 GB, free: 2.715 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.000661/0.3937, allocations: 466.5 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3938, allocations: 12.03 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3938, allocations: 11.91 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3939, allocations: 184.8 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.394, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.394, allocations: 15.95 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3942, allocations: 81.64 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3942, allocations: 0 / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3943, allocations: 3.938 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3943, allocations: 8 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3945, allocations: 59.89 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.395, allocations: 328.8 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3952, allocations: 86.53 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3954, allocations: 48.84 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3954, allocations: 8.031 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.3956, allocations: 91.36 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3956, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004961/0.3961, allocations: 205.5 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3962, allocations: 51.56 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3963, allocations: 134 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3963, allocations: 33.7 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.3964, allocations: 92.12 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3964, allocations: 27.67 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.3964, allocations: 0 / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3966, allocations: 326.8 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.3966, allocations: 27.98 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.3967, allocations: 70 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.295e-05/0.3968, allocations: 35.98 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3968, allocations: 4 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002402/0.3971, allocations: 133.4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3971, allocations: 10.03 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3971, allocations: 3.938 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3971, allocations: 8.188 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.3972, allocations: 15.98 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3973, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3973, allocations: 15.89 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3973, allocations: 8 kB / 1.063 GB, free: 15.9 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.3974, allocations: 124.7 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.3975, allocations: 7.906 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.3975, allocations: 16.72 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3975, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3975, allocations: 3.984 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3975, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.3981, allocations: 450.2 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3981, allocations: 3.938 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.3981, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3981, allocations: 3.984 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3981, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3981, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3981, allocations: 4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.3985, allocations: 255.3 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3986, allocations: 85.02 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3986, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3987, allocations: 15.92 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3988, allocations: 11.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3988, allocations: 12 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.3988, allocations: 95.27 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3988, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003051/0.3991, allocations: 47.98 kB / 1.064 GB, free: 14.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003506/0.3995, allocations: 175.7 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.3998, allocations: 95.92 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3998, allocations: 4 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3999, allocations: 60.28 kB / 1.064 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4002, allocations: 15.94 kB / 1.064 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.4006, allocations: 221 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4008, allocations: 0.6965 MB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.4009, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.4009, allocations: 11.44 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4009, allocations: 0 / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.004503/0.4054, allocations: 1.763 MB / 1.067 GB, free: 11.62 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/jenkins/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