Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001044, allocations: 97.78 kB / 16.02 MB, free: 76 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.001521/0.001522, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003773, allocations: 16.22 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6206, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001603/0.6223, allocations: 1.219 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.6236, allocations: 0.8182 MB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.6237, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.6237, allocations: 7.922 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.6238, allocations: 3.938 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.6244, allocations: 131.7 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.6246, allocations: 87.7 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.6247, allocations: 12 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.6248, allocations: 35.89 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.6249, allocations: 39.83 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.625, allocations: 4 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.6252, allocations: 119.8 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.6253, allocations: 19.91 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.6254, allocations: 69.48 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.6256, allocations: 125.8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6256, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6256, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6256, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 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.0006859/0.6263, allocations: 466.6 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6263, allocations: 11.97 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.6264, allocations: 16.84 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6265, allocations: 180.2 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6266, allocations: 8.312 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.6266, allocations: 4.375 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.6268, allocations: 93.95 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.6268, allocations: 3.938 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.6269, allocations: 3.984 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6269, allocations: 8 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.6271, allocations: 51.97 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.6276, allocations: 328.6 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.6279, allocations: 90.53 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.628, allocations: 56.81 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.6281, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.6283, allocations: 95.39 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.572e-06/0.6283, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005421/0.6289, allocations: 201.7 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.629, allocations: 55.41 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.6291, allocations: 136.3 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6291, allocations: 29.7 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.6292, allocations: 100.1 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.6292, allocations: 15.81 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.6292, allocations: 17.72 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6294, allocations: 322.8 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.6294, allocations: 27.98 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.6296, allocations: 77.92 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.6298, allocations: 109.9 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6298, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002677/0.63, allocations: 137.4 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6301, allocations: 8 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6301, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6301, allocations: 4 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.6302, allocations: 11.98 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6302, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.6303, allocations: 15.94 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6303, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 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.0001044/0.6304, allocations: 137.7 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.6304, allocations: 7.906 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.6305, allocations: 8.719 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6305, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6305, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6305, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.6311, allocations: 450.3 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6311, allocations: 4 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.6312, allocations: 4 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6312, allocations: 0 / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.6312, allocations: 11.98 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6312, allocations: 0 / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6312, allocations: 11.94 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.6316, allocations: 243.4 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.6317, allocations: 89 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.6317, allocations: 8 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.6318, allocations: 11.98 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.6319, allocations: 7.938 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.6319, allocations: 11.92 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.6319, allocations: 105.3 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6319, allocations: 0 / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003532/0.6323, allocations: 48 kB / 1.03 GB, free: 8.992 MB / 0.7794 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.0003648/0.6327, allocations: 176.4 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.633, allocations: 96.14 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.633, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6331, allocations: 55.91 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.6334, allocations: 7.984 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.6339, allocations: 262.7 kB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.6341, allocations: 0.6926 MB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.6342, allocations: 15.44 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6342, allocations: 0 / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of Templates: time 0.003778/0.638, allocations: 1.824 MB / 1.033 GB, free: 5.828 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches