Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001865/0.001865, allocations: 111.5 kB / 16.42 MB, free: 5.996 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.002497/0.002497, allocations: 187.2 kB / 17.35 MB, free: 5.609 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347/1.348, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002593/1.351, allocations: 0.779 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001242/1.352, allocations: 0.8585 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/1.352, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/1.352, allocations: 7.875 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/1.353, allocations: 11.86 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/1.353, allocations: 35.95 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/1.353, allocations: 91.75 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/1.353, allocations: 27.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/1.353, allocations: 39.84 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/1.353, allocations: 51.81 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/1.354, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/1.354, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/1.354, allocations: 11.98 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/1.354, allocations: 35.8 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/1.354, allocations: 91.64 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.354, allocations: 7.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.447e-06/1.354, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.354, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 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.0008531/1.355, allocations: 393 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.355, allocations: 8.031 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/1.355, allocations: 8.844 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/1.355, allocations: 176.2 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.355, allocations: 8.312 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/1.355, allocations: 12.38 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/1.356, allocations: 108.7 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.356, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.356, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.356, allocations: 3.984 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/1.356, allocations: 103.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/1.357, allocations: 340.6 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/1.358, allocations: 122.5 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/1.358, allocations: 64.8 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/1.358, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.358, allocations: 34.56 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.358, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0008126/1.359, allocations: 185.4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.359, allocations: 51.41 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.359, allocations: 125.8 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.359, allocations: 33.7 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/1.359, allocations: 92 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/1.359, allocations: 19.75 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/1.359, allocations: 25.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.359, allocations: 322.8 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/1.36, allocations: 47.95 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/1.36, allocations: 43.95 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/1.36, allocations: 97.23 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.36, allocations: 7.984 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004722/1.361, allocations: 137.4 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.361, allocations: 4 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.361, allocations: 4 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.361, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/1.361, allocations: 23.97 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.361, allocations: 4 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/1.361, allocations: 23.91 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.361, allocations: 0 / 1.213 GB, free: 8.762 MB / 0.9356 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 0.0001254/1.361, allocations: 113.8 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/1.361, allocations: 7.906 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/1.361, allocations: 8.375 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.361, allocations: 0 / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.361, allocations: 3.984 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/1.361, allocations: 92.95 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/1.361, allocations: 0 / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.362, allocations: 15.98 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/1.362, allocations: 23.97 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006523/1.362, allocations: 232.7 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005677/1.363, allocations: 314.6 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002316/1.363, allocations: 59.94 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.206e-05/1.363, allocations: 103.2 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of Backend: time 6.31e-07/1.363, allocations: 0 / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006149/1.364, allocations: 136.3 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000765/1.365, allocations: 0.604 MB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.005359/1.37, allocations: 1.744 MB / 1.216 GB, free: 5.227 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches