Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00157/0.00157, allocations: 105.1 kB / 16.41 MB, free: 6.445 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.00167/0.00167, allocations: 187 kB / 17.34 MB, free: 5.703 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 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 71.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9311/0.9335, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002189/0.9357, allocations: 0.7815 MB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.9368, allocations: 0.8686 MB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.9369, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.937, allocations: 7.922 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.9371, allocations: 11.88 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.9373, allocations: 43.83 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.9374, allocations: 83.88 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.9376, allocations: 23.98 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.9377, allocations: 35.84 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.9378, allocations: 55.75 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.9378, allocations: 12 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.9378, allocations: 8 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.9379, allocations: 19.92 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.9379, allocations: 31.84 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.9381, allocations: 92.16 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.9381, allocations: 4 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9381, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9381, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 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.0007535/0.9389, allocations: 395.1 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9389, allocations: 12.86 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.939, allocations: 8.891 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.9392, allocations: 180.2 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.9392, allocations: 8.375 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.9392, allocations: 4.375 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.9395, allocations: 109.5 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9396, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.9396, allocations: 4 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.9396, allocations: 4 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.94, allocations: 91.91 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.9405, allocations: 348.6 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.9412, allocations: 122.6 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.9414, allocations: 56.81 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.9414, allocations: 7.938 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.9415, allocations: 34.5 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9415, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.000744/0.9422, allocations: 181.5 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.9423, allocations: 51.41 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.9424, allocations: 121.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.9424, allocations: 29.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.9425, allocations: 104 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.9425, allocations: 15.86 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.9426, allocations: 21.7 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9427, allocations: 322.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.9429, allocations: 47.94 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.9431, allocations: 52.2 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.9435, allocations: 96.92 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9435, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004404/0.9439, allocations: 141.5 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.944, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.944, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.944, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.9442, allocations: 23.97 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9442, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9443, allocations: 23.84 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.9443, allocations: 7.938 kB / 1.172 GB, free: 14.95 MB / 0.9044 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 9.316e-05/0.9444, allocations: 117.8 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.9445, allocations: 7.953 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.9445, allocations: 8.375 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9445, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9445, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9445, allocations: 11.92 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.9448, allocations: 201.5 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9448, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.9449, allocations: 27.97 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.945, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.945, allocations: 7.984 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.945, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.945, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.9455, allocations: 239.3 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.9455, allocations: 85.06 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.9456, allocations: 4 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.9457, allocations: 7.984 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.9458, allocations: 27.91 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.9459, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.9459, allocations: 99.64 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9459, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002384/0.9462, allocations: 12 kB / 1.173 GB, free: 14 MB / 0.9044 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.0001313/0.9463, allocations: 103.2 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.9468, allocations: 107.8 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9468, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.947, allocations: 55.95 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9473, allocations: 8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.9478, allocations: 205.5 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.9482, allocations: 0.6906 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.9482, allocations: 23.42 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9482, allocations: 0 / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.00297/0.9512, allocations: 1.237 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches