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.001031/0.001031, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.0009964/0.0009964, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 58.58 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2901, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003469/0.2936, allocations: 1.509 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2954, allocations: 0.8371 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.2954, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.2955, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.2956, allocations: 19.8 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.2963, allocations: 151.5 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2965, allocations: 91.69 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.2966, allocations: 15.98 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2967, allocations: 39.86 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2968, allocations: 51.75 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.2968, allocations: 8 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.2971, allocations: 127.9 kB / 1.03 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.2972, allocations: 11.98 kB / 1.03 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.2973, allocations: 43.78 kB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.2976, allocations: 187.4 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2976, allocations: 0 / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2976, allocations: 0 / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2976, allocations: 0 / 1.03 GB, free: 15.01 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.0008718/0.2985, allocations: 490.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2986, allocations: 8.031 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.2986, allocations: 8.844 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2988, allocations: 180.2 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.2988, allocations: 4.375 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2989, allocations: 4.375 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2992, allocations: 89.89 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2992, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2992, allocations: 7.984 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2992, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2995, allocations: 43.97 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.3002, allocations: 324.6 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.3005, allocations: 90.53 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3007, allocations: 40.83 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3007, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.301, allocations: 99.41 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 4.388e-06/0.301, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0007353/0.3018, allocations: 193.5 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3018, allocations: 55.41 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.302, allocations: 128.8 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.302, allocations: 33.7 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3021, allocations: 88.14 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.3021, allocations: 23.72 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.3022, allocations: 33.7 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3024, allocations: 322.8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3025, allocations: 31.97 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3027, allocations: 66 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.3029, allocations: 105.8 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3029, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003578/0.3033, allocations: 129.4 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3033, allocations: 4 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3033, allocations: 4 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3034, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3035, allocations: 19.92 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3035, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3036, allocations: 11.91 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3036, allocations: 7.984 kB / 1.032 GB, free: 12.12 MB / 0.8106 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.0001183/0.3038, allocations: 129.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3038, allocations: 7.906 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.3038, allocations: 12.72 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3039, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3039, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3039, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/0.3047, allocations: 434.4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3047, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.3047, allocations: 7.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3048, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3048, allocations: 7.984 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3048, allocations: 4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3048, allocations: 3.938 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.3053, allocations: 251.4 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3054, allocations: 81.02 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3054, allocations: 4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3056, allocations: 19.86 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.3057, allocations: 7.938 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3057, allocations: 3.984 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.3058, allocations: 97.94 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3058, allocations: 0 / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005633/0.3064, allocations: 55.98 kB / 1.033 GB, free: 10.92 MB / 0.8106 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.0004074/0.3068, allocations: 178.5 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.3072, allocations: 84.2 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3072, allocations: 4.062 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.3074, allocations: 51.95 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.3078, allocations: 15.92 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.3085, allocations: 196.2 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3088, allocations: 0.6924 MB / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.3089, allocations: 4 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.3089, allocations: 11.44 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3089, allocations: 3.938 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of Templates: time 0.006487/0.3154, allocations: 1.886 MB / 1.036 GB, free: 7.77 MB / 0.8106 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 -s gbode -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