Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 108 kB / 15.61 MB, free: 152 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.002125/0.002125, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.7 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.72 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003162/0.3401, allocations: 1.501 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3417, allocations: 0.8256 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.3417, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3418, allocations: 3.938 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.3419, allocations: 19.84 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.3425, allocations: 151.5 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3426, allocations: 95.69 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3427, allocations: 19.98 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3429, allocations: 39.91 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.343, allocations: 43.81 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.343, allocations: 8 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.3432, allocations: 127.8 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.3433, allocations: 19.92 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3433, allocations: 43.77 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3436, allocations: 175.9 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3436, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3436, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3436, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 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.0007944/0.3444, allocations: 490.4 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3445, allocations: 12.02 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.3445, allocations: 8.844 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3447, allocations: 180.2 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3447, allocations: 8.375 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3448, allocations: 4.375 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.345, allocations: 93.88 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.345, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.345, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.345, allocations: 3.938 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3452, allocations: 47.97 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.3458, allocations: 328.7 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3461, allocations: 78.58 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3462, allocations: 52.83 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3462, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3465, allocations: 95.5 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.3465, allocations: 0 / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000512/0.347, allocations: 185.5 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.347, allocations: 59.34 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3471, allocations: 131.2 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3472, allocations: 29.7 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3472, allocations: 96.12 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3473, allocations: 15.75 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.3473, allocations: 33.7 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3475, allocations: 322.8 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3476, allocations: 27.98 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3477, allocations: 73.48 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3479, allocations: 105.9 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3479, allocations: 0 / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002486/0.3481, allocations: 129.5 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3482, allocations: 8.031 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3482, allocations: 4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3482, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.3483, allocations: 19.92 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3483, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.3484, allocations: 15.92 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3484, allocations: 8 kB / 1.074 GB, free: 4.414 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 0.0001113/0.3485, allocations: 124.9 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.3485, allocations: 7.906 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.3486, allocations: 12.72 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3486, allocations: 4.031 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3486, allocations: 3.984 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3486, allocations: 3.938 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.3492, allocations: 434.5 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3492, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.3492, allocations: 8 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3493, allocations: 3.984 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3493, allocations: 8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3493, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3493, allocations: 3.938 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3497, allocations: 251.5 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3497, allocations: 85.02 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3498, allocations: 0 / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3499, allocations: 11.98 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3499, allocations: 15.92 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.35, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.35, allocations: 96.81 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.35, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003276/0.3504, allocations: 51.89 kB / 1.075 GB, free: 3.211 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.000373/0.3507, allocations: 167.3 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3511, allocations: 95.75 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3511, allocations: 3.938 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3512, allocations: 52.34 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3515, allocations: 14.27 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.352, allocations: 205.7 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3523, allocations: 0.6963 MB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.3524, allocations: 3.781 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.3524, allocations: 19.42 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3524, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of Templates: time 0.00501/0.3574, allocations: 1.88 MB / 1.078 GB, free: 52 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches