Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.001698/0.001698, allocations: 109.3 kB / 15.7 MB, free: 132 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.002188/0.002188, allocations: 200.8 kB / 16.64 MB, free: 6.613 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.413/1.413, allocations: 222.9 MB / 240.3 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.3 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.28 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00262/0.2864, allocations: 1.507 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2879, allocations: 0.8309 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.288, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.2881, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.2881, allocations: 19.84 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.2888, allocations: 147.5 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2889, allocations: 99.69 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.289, allocations: 12 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2892, allocations: 35.91 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.2893, allocations: 51.81 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2893, allocations: 8 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.2895, allocations: 123.8 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.2896, allocations: 23.92 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.2896, allocations: 35.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.29, allocations: 187.5 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.29, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.29, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.29, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 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.0008571/0.2909, allocations: 488.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2909, allocations: 8.031 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.291, allocations: 8.844 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2912, allocations: 178.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.2912, allocations: 8.359 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.2912, allocations: 8.375 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.2915, allocations: 89.95 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2915, allocations: 3.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2915, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2915, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.2917, allocations: 55.94 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.2923, allocations: 324.7 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2926, allocations: 86.5 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.2927, allocations: 40.84 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2927, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.293, allocations: 91.36 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.293, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005711/0.2936, allocations: 185.7 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2936, allocations: 63.33 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2938, allocations: 126.1 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.2938, allocations: 29.7 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.2939, allocations: 96.14 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2939, allocations: 23.73 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.294, allocations: 25.72 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2941, allocations: 326.8 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.2942, allocations: 19.98 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2943, allocations: 73.98 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2945, allocations: 109.9 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2945, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002365/0.2948, allocations: 121.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2948, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2948, allocations: 3.938 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2948, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.295, allocations: 24.11 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.295, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.2951, allocations: 11.91 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2951, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 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.0001067/0.2952, allocations: 125.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.2952, allocations: 11.89 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.2953, allocations: 8.719 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2953, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2953, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2953, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.2959, allocations: 434.3 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2959, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.2959, allocations: 7.984 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2959, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.296, allocations: 4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.296, allocations: 4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.296, allocations: 7.938 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.2964, allocations: 247.7 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2964, allocations: 85.02 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2964, allocations: 7.984 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2966, allocations: 8 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2966, allocations: 15.86 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2966, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.2967, allocations: 102.1 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2967, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003622/0.2971, allocations: 51.98 kB / 1.095 GB, free: 10.35 MB / 0.8575 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.0004514/0.2975, allocations: 183.7 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.2979, allocations: 91.83 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2979, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.2981, allocations: 43.97 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2984, allocations: 8 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.299, allocations: 220.5 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.2994, allocations: 0.6885 MB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.2994, allocations: 7.984 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.2994, allocations: 11.44 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2994, allocations: 0 / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.005286/0.3047, allocations: 1.893 MB / 1.098 GB, free: 7.176 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches