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.0127/0.01271, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002614/0.002614, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.564/1.564, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.535/2.535, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 65.38 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3705, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.001833/0.3724, allocations: 0.6977 MB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.3732, allocations: 0.8004 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.3733, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.3733, allocations: 7.922 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.3734, allocations: 11.94 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.576e-05/0.3734, allocations: 11.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.3735, allocations: 39.86 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3736, allocations: 15.98 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.3737, allocations: 15.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.3738, allocations: 23.86 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3738, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.3738, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3738, allocations: 15.97 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3738, allocations: 11.94 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.3739, allocations: 43.75 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.374, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.374, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.374, allocations: 4 kB / 1.09 GB, free: 15.75 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.0005082/0.3745, allocations: 363.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3745, allocations: 8.031 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.3746, allocations: 8.891 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3747, allocations: 168.3 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3747, allocations: 384 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3747, allocations: 4.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.3749, allocations: 74.14 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.375, allocations: 192 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.375, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.375, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3753, allocations: 67.92 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3756, allocations: 264.9 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3758, allocations: 62.45 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.376, allocations: 52.84 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.376, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.376, allocations: 30.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.376, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005056/0.3765, allocations: 129.5 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3766, allocations: 55.39 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.3767, allocations: 109.9 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3767, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.3767, allocations: 88.11 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3768, allocations: 11.95 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3768, allocations: 13.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3769, allocations: 326.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3771, allocations: 31.91 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3772, allocations: 27.97 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3775, allocations: 72.78 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.3775, allocations: 3.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003065/0.3778, allocations: 97.58 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3779, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3779, allocations: 3.984 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3779, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.378, allocations: 19.98 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.378, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.3781, allocations: 11.98 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3781, allocations: 320 / 1.092 GB, free: 13.43 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 7.771e-05/0.3782, allocations: 119.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3782, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.3783, allocations: 11.83 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3783, allocations: 8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3783, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3783, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3784, allocations: 169.6 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3784, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.3785, allocations: 11.98 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3786, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.3786, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3786, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3786, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.3789, allocations: 203.6 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.379, allocations: 77.11 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.379, allocations: 4.047 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3791, allocations: 15.95 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3792, allocations: 12 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3792, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.3792, allocations: 95.25 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3792, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002122/0.3795, allocations: 7.938 kB / 1.092 GB, free: 12.6 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.0001241/0.3796, allocations: 99.78 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.3799, allocations: 75.86 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3799, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3801, allocations: 39.89 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3804, allocations: 13.66 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.3807, allocations: 117.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3809, allocations: 0.6846 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.381, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.381, allocations: 11.44 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.381, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.00256/0.3836, allocations: 0.6812 MB / 1.094 GB, free: 10.83 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