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.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.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.0009648/0.0009648, allocations: 99.19 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.001157/0.001157, allocations: 186 kB / 16.92 MB, free: 6.703 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004842, allocations: 9.094 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3239, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001512/0.3255, allocations: 1.229 MB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3269, allocations: 0.8141 MB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.3269, allocations: 4 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.327, allocations: 3.938 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.327, allocations: 11.88 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3276, allocations: 123.7 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3277, allocations: 87.7 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.3278, allocations: 12 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3279, allocations: 39.89 kB / 1.062 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.328, allocations: 39.83 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.328, allocations: 8 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.3282, allocations: 115.8 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.3283, allocations: 27.89 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.3284, allocations: 61.5 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3286, allocations: 124 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3286, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3286, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3286, allocations: 0 / 1.062 GB, free: 2.258 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.0006551/0.3293, allocations: 474.6 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3293, allocations: 11.97 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.3293, allocations: 8.844 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3295, allocations: 176.2 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3295, allocations: 4.375 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3295, allocations: 12.31 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.3298, allocations: 97.94 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3298, allocations: 0 / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3298, allocations: 0 / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3298, allocations: 3.938 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.33, allocations: 59.91 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.3305, allocations: 336.6 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.3308, allocations: 86.55 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3309, allocations: 48.83 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3309, allocations: 4.078 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3312, allocations: 103.3 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.3312, allocations: 0 / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.3317, allocations: 205.7 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.3318, allocations: 51.41 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3319, allocations: 130.1 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3319, allocations: 29.7 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.332, allocations: 96.12 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.332, allocations: 19.66 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3321, allocations: 29.64 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3322, allocations: 322.8 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.3322, allocations: 27.98 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3324, allocations: 70 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3325, allocations: 109.9 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3326, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002564/0.3328, allocations: 133.4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3328, allocations: 4 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3329, allocations: 4 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3329, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.333, allocations: 20.17 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.333, allocations: 7.938 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.333, allocations: 7.984 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3331, allocations: 4 kB / 1.065 GB, free: 15.33 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 8.63e-05/0.3332, allocations: 127.9 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.3332, allocations: 7.906 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3332, allocations: 8.719 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3332, allocations: 8 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3332, allocations: 3.938 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3332, allocations: 3.984 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.3338, allocations: 450.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3338, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.3339, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3339, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3339, allocations: 3.984 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3339, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3339, allocations: 3.938 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.3343, allocations: 263.3 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3343, allocations: 85.02 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3344, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3345, allocations: 15.97 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3345, allocations: 11.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3345, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.3346, allocations: 103.3 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3346, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003244/0.3349, allocations: 47.98 kB / 1.066 GB, free: 14.09 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.000362/0.3353, allocations: 166.8 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3356, allocations: 99.88 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3356, allocations: 0 / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3357, allocations: 56.28 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3361, allocations: 18.66 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.3365, allocations: 252.4 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3368, allocations: 0.7004 MB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.3368, allocations: 11.42 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3368, allocations: 0 / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.003777/0.3406, allocations: 1.822 MB / 1.069 GB, free: 10.93 MB / 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/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