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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001677/0.001677, allocations: 100.6 kB / 16.41 MB, free: 6.016 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.001974/0.001974, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7112, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002371/0.7136, allocations: 1.494 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.7148, allocations: 0.8272 MB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.7149, allocations: 0.9688 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.7149, allocations: 5.25 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.715, allocations: 19.02 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.7155, allocations: 150.8 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.7157, allocations: 98.23 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.7158, allocations: 8.219 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.7158, allocations: 41.03 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.7159, allocations: 53.94 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.716, allocations: 7.469 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.7162, allocations: 125.3 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.7162, allocations: 15.3 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.7163, allocations: 46.47 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.7166, allocations: 190.9 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.7166, allocations: 0 / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7166, allocations: 0.7812 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7166, allocations: 0 / 1.092 GB, free: 3.586 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.0006357/0.7173, allocations: 471.8 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7173, allocations: 9.906 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.7174, allocations: 17.75 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.7174, allocations: 179 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.7175, allocations: 3.609 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.7175, allocations: 5.594 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.7177, allocations: 92.53 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7178, allocations: 0 / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.7178, allocations: 1.703 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7178, allocations: 1.031 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.718, allocations: 52.22 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.7185, allocations: 322.8 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.7187, allocations: 81.62 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.7188, allocations: 48.67 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.7188, allocations: 1.719 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.7191, allocations: 89.16 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.7191, allocations: 0 / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005794/0.7197, allocations: 188 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.7197, allocations: 62.11 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.7198, allocations: 137.4 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7198, allocations: 30.64 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.7199, allocations: 93.09 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.7199, allocations: 16.67 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.7199, allocations: 26.64 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.72, allocations: 327.9 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.7201, allocations: 26.81 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.7202, allocations: 66.62 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.7203, allocations: 103.8 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7203, allocations: 4.531 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000234/0.7206, allocations: 132 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7206, allocations: 6.75 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7206, allocations: 1.938 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7206, allocations: 1.938 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.7207, allocations: 17.47 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7208, allocations: 2.922 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.7208, allocations: 17.42 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7208, allocations: 5.203 kB / 1.094 GB, free: 1.434 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 7.401e-05/0.7209, allocations: 129.2 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.7209, allocations: 8.703 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.721, allocations: 11.52 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.721, allocations: 0.8438 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.721, allocations: 1.484 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.721, allocations: 4.547 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.7215, allocations: 431.1 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7215, allocations: 4.875 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.7216, allocations: 9.469 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7216, allocations: 0.7812 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.7216, allocations: 7.094 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7216, allocations: 0.7031 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7216, allocations: 4.906 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.722, allocations: 240.4 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.722, allocations: 88.42 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.722, allocations: 5.719 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7222, allocations: 8.703 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.7222, allocations: 13.28 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.7222, allocations: 3.5 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.7223, allocations: 107.1 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7223, allocations: 0 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003585/0.7227, allocations: 50.11 kB / 1.095 GB, free: 0.543 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.0003576/0.723, allocations: 179.6 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.7233, allocations: 86.14 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7233, allocations: 1.312 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.7235, allocations: 50.61 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.7238, allocations: 16.11 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.7242, allocations: 230.7 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7244, allocations: 0.6916 MB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.7245, allocations: 15.05 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.7245, allocations: 0.875 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.004533/0.729, allocations: 1.837 MB / 1.098 GB, free: 15.3 MB / 0.8731 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/jenkins1/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