Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006542/0.006542, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001115/0.001115, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.484/1.484, allocations: 222.9 MB / 240.4 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.492/2.492, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.001809/1.083, allocations: 0.6978 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/1.083, allocations: 0.8008 MB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/1.084, allocations: 5 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/1.084, allocations: 4.594 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/1.084, allocations: 5.656 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.486e-05/1.084, allocations: 10.83 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/1.084, allocations: 50.7 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/1.084, allocations: 14.61 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/1.084, allocations: 16.91 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/1.084, allocations: 19 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/1.084, allocations: 4.094 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/1.084, allocations: 3.281 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/1.084, allocations: 7 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/1.084, allocations: 21.84 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/1.084, allocations: 40.5 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.084, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.684e-06/1.084, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.238e-06/1.084, allocations: 4 kB / 1.09 GB, free: 4.344 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004949/1.085, allocations: 361 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.085, allocations: 14.52 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/1.085, allocations: 6.531 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/1.085, allocations: 171 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.085, allocations: 1.281 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.085, allocations: 1.406 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/1.085, allocations: 80.75 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/1.085, allocations: 1 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.085, allocations: 3.938 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.085, allocations: 1.125 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/1.086, allocations: 63.23 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/1.086, allocations: 270 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.086, allocations: 59.08 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/1.086, allocations: 49.06 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/1.086, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.086, allocations: 36.42 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/1.086, allocations: 0 / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/1.087, allocations: 123.6 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.087, allocations: 53.11 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/1.087, allocations: 114.6 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/1.087, allocations: 26.8 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/1.087, allocations: 86.67 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/1.087, allocations: 18.81 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/1.087, allocations: 13.06 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/1.087, allocations: 313.7 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/1.087, allocations: 31.16 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/1.088, allocations: 39.75 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/1.088, allocations: 65.62 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.088, allocations: 3.938 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000332/1.088, allocations: 102.5 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.088, allocations: 5.594 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.088, allocations: 4.25 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.088, allocations: 1.266 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/1.088, allocations: 14.77 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.088, allocations: 1.734 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/1.089, allocations: 10.92 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/1.089, allocations: 9.516 kB / 1.092 GB, free: 2.559 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/1.089, allocations: 112.1 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/1.089, allocations: 6.25 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/1.089, allocations: 9.844 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.089, allocations: 0.75 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.089, allocations: 0.6094 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/1.089, allocations: 1.031 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/1.089, allocations: 174.9 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.089, allocations: 0 / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.089, allocations: 19.19 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.089, allocations: 1.516 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/1.089, allocations: 0.8438 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.089, allocations: 0 / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.089, allocations: 4.688 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/1.089, allocations: 205.4 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/1.089, allocations: 82.94 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.089, allocations: 1.359 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.089, allocations: 12.2 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/1.09, allocations: 3.219 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/1.09, allocations: 0.7812 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.241e-05/1.09, allocations: 88.36 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.09, allocations: 0 / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002245/1.09, allocations: 10.59 kB / 1.092 GB, free: 1.879 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: 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 (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.0001506/1.09, allocations: 104.1 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003834/1.09, allocations: 67.34 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.09, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/1.091, allocations: 42.2 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/1.091, allocations: 8.891 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/1.091, allocations: 127.5 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/1.091, allocations: 0.6799 MB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.174e-05/1.091, allocations: 1.625 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/1.091, allocations: 13.5 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/1.091, allocations: 0 / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of Templates: time 0.003302/1.095, allocations: 0.681 MB / 1.094 GB, free: 0.8672 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches