Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 111.3 kB / 16.42 MB, free: 6.461 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.001647/0.001647, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.436/1.436, allocations: 222.9 MB / 241.1 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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 71.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.046, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002016/1.048, allocations: 0.7689 MB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009708/1.049, allocations: 0.8672 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/1.049, allocations: 1.094 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/1.049, allocations: 5.203 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/1.049, allocations: 13.98 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/1.049, allocations: 38.55 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/1.049, allocations: 90.56 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/1.049, allocations: 25.86 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/1.049, allocations: 36.59 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/1.05, allocations: 48.44 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/1.05, allocations: 7.844 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/1.05, allocations: 8.344 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/1.05, allocations: 19.92 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/1.05, allocations: 42.89 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/1.05, allocations: 86.78 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.05, allocations: 4.562 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.05, allocations: 0 / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.05, allocations: 1.062 kB / 1.091 GB, free: 4.164 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006045/1.05, allocations: 392.6 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.051, allocations: 9.547 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/1.051, allocations: 8.75 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.051, allocations: 174 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.051, allocations: 7.312 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.051, allocations: 12.95 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/1.051, allocations: 104.5 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.051, allocations: 1.094 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.051, allocations: 4 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.051, allocations: 2.375 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/1.051, allocations: 100.9 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/1.052, allocations: 345 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/1.053, allocations: 118.6 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/1.053, allocations: 63.33 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/1.053, allocations: 3.984 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.053, allocations: 31.92 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.053, allocations: 1.031 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000688/1.054, allocations: 189.2 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/1.054, allocations: 53.02 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/1.054, allocations: 123.5 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/1.054, allocations: 30.52 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/1.054, allocations: 97.41 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/1.054, allocations: 20.45 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/1.054, allocations: 22.59 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/1.054, allocations: 327.8 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/1.054, allocations: 43.33 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.054, allocations: 48.72 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/1.055, allocations: 104 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.055, allocations: 0.7188 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004213/1.055, allocations: 129.6 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.055, allocations: 9.766 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.055, allocations: 0.7188 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.055, allocations: 0.875 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/1.055, allocations: 31.48 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.055, allocations: 1.547 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/1.056, allocations: 15.97 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.056, allocations: 2.797 kB / 1.093 GB, free: 2.211 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.344e-05/1.056, allocations: 118.4 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/1.056, allocations: 6.938 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/1.056, allocations: 11.33 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.056, allocations: 1.391 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.056, allocations: 4 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/1.056, allocations: 88.22 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/1.056, allocations: 5.531 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.056, allocations: 11.38 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/1.056, allocations: 20.88 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005217/1.057, allocations: 228.7 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004733/1.057, allocations: 317.2 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002199/1.057, allocations: 66.25 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.582e-05/1.057, allocations: 92.7 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of Backend: time 3.8e-07/1.057, allocations: 0 / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005387/1.058, allocations: 136.5 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004699/1.058, allocations: 0.606 MB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Templates: time 0.005108/1.063, allocations: 1.75 MB / 1.097 GB, free: 0.6758 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches