Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.001481/0.001481, allocations: 100.1 kB / 15.88 MB, free: 4 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.001778/0.001778, allocations: 199.7 kB / 16.8 MB, free: 6.82 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.318/2.318, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5986, allocations: 140.3 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002473/0.6011, allocations: 1.565 MB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.6024, allocations: 0.8267 MB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.6024, allocations: 3.938 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.6025, allocations: 5.234 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.6026, allocations: 13.22 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.6031, allocations: 132.6 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.413e-05/0.6032, allocations: 80.05 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.6033, allocations: 14.33 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.6034, allocations: 42.94 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.6034, allocations: 49.72 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.6035, allocations: 5.156 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.6037, allocations: 113.2 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.6037, allocations: 14.36 kB / 0.9524 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.6038, allocations: 41.94 kB / 0.9524 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.604, allocations: 131.2 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.604, allocations: 0 / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.604, allocations: 3.938 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.604, allocations: 0 / 0.9525 GB, free: 6.984 MB / 0.7169 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.000635/0.6047, allocations: 481.1 kB / 0.953 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6047, allocations: 9.844 kB / 0.953 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.6048, allocations: 8.688 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.6048, allocations: 182.7 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.6049, allocations: 8.25 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.6049, allocations: 4.094 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.6051, allocations: 92.28 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6051, allocations: 0 / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6052, allocations: 5.25 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6052, allocations: 0.9062 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.6053, allocations: 50.89 kB / 0.9533 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.6058, allocations: 321.5 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.6061, allocations: 86.94 kB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6062, allocations: 42.56 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.6062, allocations: 1.344 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.6064, allocations: 87.83 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.6064, allocations: 4 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000514/0.6069, allocations: 195.6 kB / 0.954 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.607, allocations: 57.56 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.6071, allocations: 134.1 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.6071, allocations: 26.77 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.6071, allocations: 95.33 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.6072, allocations: 19.08 kB / 0.9544 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.6072, allocations: 31.19 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.6073, allocations: 324.8 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.6073, allocations: 26.95 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.6074, allocations: 72.89 kB / 0.9548 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.6076, allocations: 104.5 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6076, allocations: 8 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002402/0.6079, allocations: 123.4 kB / 0.955 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6079, allocations: 6.5 kB / 0.955 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6079, allocations: 5.5 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6079, allocations: 1.719 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.608, allocations: 18.8 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.608, allocations: 2.906 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.6081, allocations: 16.19 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.6081, allocations: 8.594 kB / 0.9551 GB, free: 4.613 MB / 0.7169 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.122e-05/0.6082, allocations: 124.7 kB / 0.9552 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.6082, allocations: 4.281 kB / 0.9552 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.6082, allocations: 11.25 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6082, allocations: 0 / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6082, allocations: 1.531 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6083, allocations: 0 / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.6088, allocations: 441.9 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6088, allocations: 0 / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.6088, allocations: 3.531 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6088, allocations: 1.156 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6088, allocations: 5.109 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6088, allocations: 1.188 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6089, allocations: 4.016 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.6092, allocations: 249.8 kB / 0.9559 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.6093, allocations: 87.03 kB / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.6093, allocations: 2.125 kB / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.6094, allocations: 8.516 kB / 0.956 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.6094, allocations: 19.09 kB / 0.956 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.6095, allocations: 6.391 kB / 0.956 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.6095, allocations: 105.6 kB / 0.9561 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6095, allocations: 0 / 0.9561 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003396/0.6099, allocations: 43.41 kB / 0.9561 GB, free: 3.652 MB / 0.7169 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.0003683/0.6102, allocations: 179.4 kB / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.6105, allocations: 90.8 kB / 0.9564 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6105, allocations: 0 / 0.9564 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6107, allocations: 47.31 kB / 0.9564 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.611, allocations: 13.81 kB / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.6114, allocations: 245.7 kB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.6115, allocations: 0.6948 MB / 0.9574 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.6116, allocations: 11.47 kB / 0.9574 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6116, allocations: 0 / 0.9574 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.003411/0.615, allocations: 1.834 MB / 0.9592 GB, free: 1.59 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches