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.001361/0.001361, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002349/0.002349, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.968/2.968, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002249, allocations: 72.61 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4339, allocations: 157.4 MB / 1.052 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0024/0.4363, allocations: 0.8303 MB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.4375, allocations: 0.874 MB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.4376, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.4376, allocations: 11.92 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.4378, allocations: 3.938 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.438, allocations: 31.97 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4381, allocations: 87.78 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.4382, allocations: 19.94 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.4383, allocations: 51.78 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.4384, allocations: 47.81 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.4384, allocations: 8 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.4385, allocations: 8 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.4385, allocations: 15.92 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.4386, allocations: 47.77 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4387, allocations: 79.73 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4387, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4387, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4387, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 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.0007056/0.4394, allocations: 397 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4395, allocations: 12.62 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.4395, allocations: 12.83 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.4397, allocations: 172.2 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4397, allocations: 8.375 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4398, allocations: 4.312 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.4401, allocations: 109.7 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4401, allocations: 4 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4401, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4401, allocations: 4 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.4405, allocations: 99.89 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.4412, allocations: 344.6 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.4418, allocations: 114.6 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.4421, allocations: 72.78 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4421, allocations: 3.938 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4421, allocations: 30.56 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4421, allocations: 0 / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006887/0.4428, allocations: 185.4 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4429, allocations: 51.41 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.443, allocations: 125.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.443, allocations: 29.64 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.4431, allocations: 96.03 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4431, allocations: 23.73 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.4432, allocations: 21.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4433, allocations: 322.8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.4435, allocations: 47.95 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4437, allocations: 48.25 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.444, allocations: 100.7 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.444, allocations: 4 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000408/0.4444, allocations: 133.5 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4445, allocations: 5.719 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4445, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4445, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4447, allocations: 31.97 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4447, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4448, allocations: 15.92 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4448, allocations: 4 kB / 1.057 GB, free: 3.812 MB / 0.8106 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.0001117/0.4449, allocations: 119.3 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.445, allocations: 7.891 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.445, allocations: 12.38 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.445, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.445, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.445, allocations: 7.938 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.4453, allocations: 205.5 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4453, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4455, allocations: 27.97 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4455, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4455, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4455, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4455, allocations: 4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.446, allocations: 235.3 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.446, allocations: 81.02 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.4461, allocations: 11.88 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4462, allocations: 15.97 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.4463, allocations: 19.98 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4463, allocations: 3.938 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.4464, allocations: 103.2 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4464, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002329/0.4466, allocations: 16 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001579/0.4468, allocations: 99.23 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.4472, allocations: 111.8 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4473, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.4475, allocations: 63.94 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4478, allocations: 10.23 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.4483, allocations: 194.4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4486, allocations: 0.6885 MB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.494e-05/0.4487, allocations: 12 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.4488, allocations: 23.42 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.4488, allocations: 0 / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.004022/0.4528, allocations: 1.415 MB / 1.06 GB, free: 212 kB / 0.8106 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/jenkins/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