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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001333/0.001333, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001351/0.001351, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.66 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.293, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002938/0.2959, allocations: 1.499 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2974, allocations: 0.8257 MB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.2975, allocations: 3.938 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.2975, allocations: 3.938 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.2977, allocations: 11.86 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2983, allocations: 159.5 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2985, allocations: 91.72 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.2986, allocations: 15.98 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.2987, allocations: 35.91 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.2988, allocations: 47.83 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2988, allocations: 8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.2991, allocations: 131.7 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.2991, allocations: 23.92 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2992, allocations: 35.8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2995, allocations: 183.8 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2995, allocations: 4 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2995, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2995, allocations: 0 / 1.067 GB, free: 11.94 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.0007533/0.3003, allocations: 482.5 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3003, allocations: 12.03 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.3004, allocations: 8.844 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3005, allocations: 180.2 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3006, allocations: 8.375 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3006, allocations: 8.375 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3008, allocations: 81.95 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3008, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.3009, allocations: 7.984 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3009, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.301, allocations: 51.91 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.3016, allocations: 328.7 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3018, allocations: 78.53 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.302, allocations: 44.83 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.302, allocations: 8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.3022, allocations: 91.39 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.3023, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005474/0.3028, allocations: 185.7 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3029, allocations: 59.41 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.303, allocations: 133.1 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.303, allocations: 25.7 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.3031, allocations: 96.12 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3031, allocations: 19.75 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.3032, allocations: 29.7 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3033, allocations: 326.8 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.3034, allocations: 27.92 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3035, allocations: 72.38 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3037, allocations: 105.9 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3037, allocations: 4 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002547/0.304, allocations: 125.5 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.304, allocations: 14.03 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.304, allocations: 0 / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.304, allocations: 4 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.3041, allocations: 15.98 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3041, allocations: 4 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.3042, allocations: 11.89 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.3043, allocations: 11.88 kB / 1.07 GB, free: 9.059 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.0001083/0.3044, allocations: 129.8 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3044, allocations: 7.953 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3044, allocations: 12.7 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3044, allocations: 4 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3044, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3045, allocations: 3.984 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.305, allocations: 434.3 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.305, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3051, allocations: 8 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3051, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3051, allocations: 3.984 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3051, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3051, allocations: 7.938 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.3055, allocations: 243.3 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3056, allocations: 89.02 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3056, allocations: 0 / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3057, allocations: 7.984 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3057, allocations: 7.938 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3058, allocations: 7.984 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.619e-05/0.3058, allocations: 99.27 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3058, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000327/0.3062, allocations: 47.98 kB / 1.071 GB, free: 7.867 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.000371/0.3065, allocations: 182.7 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.3068, allocations: 79.89 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3069, allocations: 3.938 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.307, allocations: 56.28 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3073, allocations: 11.98 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.3077, allocations: 229.9 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.308, allocations: 0.7 MB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.308, allocations: 11.44 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of SimCode: time 2.244e-06/0.3081, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of Templates: time 0.003773/0.3118, allocations: 1.847 MB / 1.074 GB, free: 4.707 MB / 0.8419 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/jenkins1/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