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.006773/0.00678, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001376/0.001376, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.254/2.254, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9072, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002554/0.9098, allocations: 1.506 MB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.9113, allocations: 0.8236 MB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.9113, allocations: 0.9375 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.9114, allocations: 8.484 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.9115, allocations: 11.25 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.9121, allocations: 155.6 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.9123, allocations: 92.5 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.9124, allocations: 15.92 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.9125, allocations: 39.27 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.9126, allocations: 48.23 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.9127, allocations: 8.25 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.913, allocations: 124 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.913, allocations: 24.72 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.9131, allocations: 37.38 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.9134, allocations: 188.4 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9134, allocations: 4 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9134, allocations: 5.344 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9134, allocations: 0 / 1.091 GB, free: 3.59 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.0006932/0.9141, allocations: 481.3 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.9142, allocations: 9.766 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.9142, allocations: 9.203 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.9143, allocations: 178 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.9144, allocations: 12.23 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.9144, allocations: 8.5 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.9146, allocations: 89.7 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9147, allocations: 0 / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9147, allocations: 2 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9147, allocations: 0.7812 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.9149, allocations: 47.84 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.9154, allocations: 331.1 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.9157, allocations: 82.12 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.9158, allocations: 45.12 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.9158, allocations: 0.875 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.9161, allocations: 92.14 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.9161, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005414/0.9166, allocations: 188.2 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.9166, allocations: 58.83 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.9168, allocations: 133.3 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.9168, allocations: 35.55 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.9168, allocations: 98.08 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.9169, allocations: 19.55 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.9169, allocations: 30.58 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.917, allocations: 324.6 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.9171, allocations: 22.44 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.9172, allocations: 74.59 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.9174, allocations: 107.4 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9174, allocations: 0.5 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002537/0.9176, allocations: 128.6 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.9177, allocations: 5.812 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.9177, allocations: 2.359 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9177, allocations: 6.688 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.9178, allocations: 16.94 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9178, allocations: 2.828 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.9179, allocations: 9.922 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.9179, allocations: 5.547 kB / 1.093 GB, free: 1.426 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 8.161e-05/0.918, allocations: 125.8 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.918, allocations: 7.328 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.9181, allocations: 15.73 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9181, allocations: 1.5 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9181, allocations: 0 / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9181, allocations: 1.672 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.9186, allocations: 435.4 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9186, allocations: 0.75 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.9187, allocations: 4.938 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9187, allocations: 0.7188 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.9187, allocations: 7.328 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.9187, allocations: 0.75 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9187, allocations: 4.672 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.9192, allocations: 252.8 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.9192, allocations: 84.53 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.9192, allocations: 5.922 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.9194, allocations: 12.08 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.9194, allocations: 12.92 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.9195, allocations: 4.25 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.9195, allocations: 102.7 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9195, allocations: 0 / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003925/0.9199, allocations: 51.03 kB / 1.095 GB, free: 0.5352 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.0003782/0.9203, allocations: 174.8 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.9206, allocations: 91.48 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9206, allocations: 0 / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.9208, allocations: 46.25 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.9211, allocations: 15.78 kB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.9216, allocations: 204.1 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.9218, allocations: 0.6901 MB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.9219, allocations: 9.672 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.9219, allocations: 11.5 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9219, allocations: 4 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.005877/0.9278, allocations: 1.895 MB / 1.098 GB, free: 15.34 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/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