Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001109/0.001109, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.426 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.544/2.544, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.000385, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.842, allocations: 142.4 MB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008871/0.8429, allocations: 430.2 kB / 0.9549 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.8437, allocations: 0.7953 MB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.8438, allocations: 1.219 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.8438, allocations: 0 / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.8439, allocations: 8.984 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.675e-05/0.844, allocations: 9.234 kB / 0.9557 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.844, allocations: 37.8 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.8442, allocations: 16.16 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.8442, allocations: 9.484 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.8443, allocations: 21.22 kB / 0.9557 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.8443, allocations: 6.188 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.8443, allocations: 2.062 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8443, allocations: 5 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.8444, allocations: 27.92 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.867e-05/0.8444, allocations: 29.19 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8444, allocations: 0 / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8444, allocations: 1.094 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8445, allocations: 4 kB / 0.9558 GB, free: 6.582 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004542/0.8449, allocations: 368.9 kB / 0.9562 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.845, allocations: 8.719 kB / 0.9562 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.845, allocations: 9.984 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.486e-05/0.8451, allocations: 173.5 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8451, allocations: 8.984 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.8451, allocations: 2 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.8454, allocations: 75.81 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8454, allocations: 1.375 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8454, allocations: 0 / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.8454, allocations: 4 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.8457, allocations: 91 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.846, allocations: 270.8 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.8462, allocations: 70.41 kB / 0.9568 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.8464, allocations: 51.33 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.8464, allocations: 1.094 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.8464, allocations: 35.69 kB / 0.9569 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8464, allocations: 0 / 0.9569 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005167/0.847, allocations: 167.1 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.847, allocations: 51.41 kB / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.8471, allocations: 111.9 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.8471, allocations: 29.7 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.8471, allocations: 86.14 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.8471, allocations: 16.8 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.8472, allocations: 0.9375 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.8472, allocations: 315.8 kB / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.8474, allocations: 38.91 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8475, allocations: 43.8 kB / 0.9578 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.8477, allocations: 42.28 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8477, allocations: 0 / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003263/0.848, allocations: 121.1 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.848, allocations: 9.328 kB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.848, allocations: 0 / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.8481, allocations: 7.891 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8483, allocations: 31.2 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8483, allocations: 1.688 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.8484, allocations: 15.27 kB / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8484, allocations: 0 / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.8485, allocations: 109.4 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.8485, allocations: 5.594 kB / 0.9581 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.8485, allocations: 11.89 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8485, allocations: 5.781 kB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8485, allocations: 3.953 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8485, allocations: 336 / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.8487, allocations: 166.6 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8487, allocations: 0 / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.8488, allocations: 23.22 kB / 0.9583 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8488, allocations: 0 / 0.9583 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8488, allocations: 3.984 kB / 0.9583 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.8488, allocations: 6 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8488, allocations: 0 / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.8492, allocations: 218.5 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.8493, allocations: 82.58 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.8493, allocations: 0 / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.8494, allocations: 20.22 kB / 0.9586 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.8495, allocations: 6.375 kB / 0.9586 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.8495, allocations: 3.938 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.8495, allocations: 94.34 kB / 0.9587 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8495, allocations: 0 / 0.9587 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002187/0.8497, allocations: 6.25 kB / 0.9587 GB, free: 3.898 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001956/0.8499, allocations: 100.8 kB / 0.9588 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.8503, allocations: 93.14 kB / 0.9589 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8503, allocations: 1.75 kB / 0.9589 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.8504, allocations: 53.27 kB / 0.9589 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.8508, allocations: 3.969 kB / 0.9589 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.8511, allocations: 133.6 kB / 0.9591 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.8512, allocations: 0.6808 MB / 0.9597 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.8512, allocations: 1.375 kB / 0.9597 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.8512, allocations: 8.812 kB / 0.9597 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8513, allocations: 0 / 0.9597 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.002925/0.8542, allocations: 0.5234 MB / 0.9603 GB, free: 2.633 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches