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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001131/0.001131, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00992/0.00992, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.612/1.612, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.984/2.984, allocations: 462.6 MB / 0.7363 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004671, allocations: 14.11 kB / 0.9027 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4193, allocations: 159.6 MB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001265/0.4207, allocations: 0.4992 MB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.4218, allocations: 0.8584 MB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.4218, allocations: 4 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.4219, allocations: 3.938 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.422, allocations: 11.92 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.4222, allocations: 31.97 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.4223, allocations: 83.73 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.4224, allocations: 27.97 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.4225, allocations: 27.86 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.4226, allocations: 43.81 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.4227, allocations: 4 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.4227, allocations: 4 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.4227, allocations: 11.92 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.4228, allocations: 57.5 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.4229, allocations: 83.7 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4229, allocations: 0 / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.525e-06/0.423, allocations: 0 / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.423, allocations: 0 / 1.06 GB, free: 3.27 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.0006854/0.4237, allocations: 387.5 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4237, allocations: 11.97 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4238, allocations: 8.844 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.4239, allocations: 184.2 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.424, allocations: 8.375 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.424, allocations: 4.375 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.4243, allocations: 117.7 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4243, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.4244, allocations: 8 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4244, allocations: 4 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.4248, allocations: 119.9 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.4253, allocations: 336.6 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.426, allocations: 134.5 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.4262, allocations: 68.81 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.4262, allocations: 4 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4263, allocations: 42.55 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4263, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000729/0.427, allocations: 217.5 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4271, allocations: 51.41 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4272, allocations: 121.8 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4272, allocations: 29.64 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.4273, allocations: 92.05 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.4273, allocations: 27.64 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.4274, allocations: 17.66 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4275, allocations: 326.8 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.4277, allocations: 55.95 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.4279, allocations: 59.95 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.4282, allocations: 112.8 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4282, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000441/0.4287, allocations: 161.6 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4287, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4287, allocations: 0 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4287, allocations: 0 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4289, allocations: 31.91 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4289, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4291, allocations: 31.83 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4291, allocations: 3.984 kB / 1.063 GB, free: 324 kB / 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.0001026/0.4292, allocations: 113.8 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4292, allocations: 4 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.4293, allocations: 12.36 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4293, allocations: 0 / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4293, allocations: 8 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4293, allocations: 3.938 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4295, allocations: 205.5 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4295, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4297, allocations: 27.97 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4297, allocations: 4 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4297, allocations: 4 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4297, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4297, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.4302, allocations: 263.2 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4303, allocations: 89 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4303, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.4305, allocations: 19.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.4306, allocations: 15.97 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.4306, allocations: 7.938 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.4307, allocations: 103.6 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4307, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000234/0.4309, allocations: 12 kB / 1.064 GB, free: 15.34 MB / 0.8262 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.0001584/0.4311, allocations: 95.25 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.4316, allocations: 132.5 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4316, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.4318, allocations: 72.11 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4321, allocations: 7.984 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.4327, allocations: 201.4 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.433, allocations: 0.6887 MB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.4331, allocations: 15.98 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.4331, allocations: 11.44 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.4331, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.004179/0.4373, allocations: 1.345 MB / 1.066 GB, free: 12.72 MB / 0.8262 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