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.0008454/0.0008454, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006287/0.006287, allocations: 172.6 kB / 16.27 MB, free: 6.66 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.594/2.594, allocations: 390.9 MB / 0.6663 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8625, allocations: 142.4 MB / 0.9551 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0009549/0.8635, allocations: 0.4938 MB / 0.9555 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.8643, allocations: 0.8488 MB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.8644, allocations: 1.031 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.8644, allocations: 7.922 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/0.8645, allocations: 9.094 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.8647, allocations: 39.52 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.8648, allocations: 82.08 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.8649, allocations: 21.55 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.865, allocations: 27.34 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.8651, allocations: 44.83 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.8652, allocations: 3.938 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.8652, allocations: 6.406 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.8652, allocations: 14.59 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.8653, allocations: 55.72 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.89e-05/0.8654, allocations: 78.48 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8654, allocations: 0 / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8654, allocations: 1.156 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8654, allocations: 0 / 0.9567 GB, free: 6.395 MB / 0.7169 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.0005436/0.8659, allocations: 389.3 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.866, allocations: 13.84 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.866, allocations: 8 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.8662, allocations: 185 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.8662, allocations: 7.719 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.8662, allocations: 4.719 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.8665, allocations: 118.1 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8665, allocations: 0 / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.8666, allocations: 5.25 kB / 0.9574 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8666, allocations: 0.9688 kB / 0.9574 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.867, allocations: 122.9 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.8675, allocations: 347.3 kB / 0.9579 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.8681, allocations: 132.8 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.8684, allocations: 70.16 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.8684, allocations: 1.156 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.8684, allocations: 43.73 kB / 0.9581 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8684, allocations: 0 / 0.9581 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007106/0.8691, allocations: 213.4 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.8692, allocations: 52.88 kB / 0.9584 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.8693, allocations: 125 kB / 0.9585 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.8693, allocations: 30.95 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.8693, allocations: 95.03 kB / 0.9586 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.8693, allocations: 22.48 kB / 0.9586 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.8694, allocations: 16.38 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.8694, allocations: 320.9 kB / 0.959 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.8696, allocations: 61.48 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.8698, allocations: 54.52 kB / 0.9591 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.8702, allocations: 113.5 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8702, allocations: 0 / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004211/0.8706, allocations: 159.5 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8707, allocations: 5.5 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8707, allocations: 4.547 kB / 0.9593 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.8707, allocations: 7.875 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.8709, allocations: 33.95 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8709, allocations: 0 / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.871, allocations: 24.3 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.871, allocations: 9.359 kB / 0.9594 GB, free: 4.137 MB / 0.7169 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.595e-05/0.8711, allocations: 114 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.8712, allocations: 6.656 kB / 0.9595 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.8712, allocations: 9.75 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.8712, allocations: 1.375 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8712, allocations: 0 / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8712, allocations: 5.312 kB / 0.9595 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.8714, allocations: 199.5 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8714, allocations: 0 / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.8716, allocations: 32.59 kB / 0.9598 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8716, allocations: 1.375 kB / 0.9598 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8716, allocations: 5.375 kB / 0.9598 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8716, allocations: 3.938 kB / 0.9598 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8716, allocations: 0 / 0.9598 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.8721, allocations: 259 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.8721, allocations: 83.77 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.8721, allocations: 7.984 kB / 0.9601 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.8723, allocations: 24.36 kB / 0.9601 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.8724, allocations: 18.84 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.8724, allocations: 10.62 kB / 0.9602 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.8724, allocations: 96.89 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8724, allocations: 0 / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002338/0.8727, allocations: 16.31 kB / 0.9603 GB, free: 3.34 MB / 0.7169 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.0001145/0.8728, allocations: 99.75 kB / 0.9604 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.8732, allocations: 137.9 kB / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8733, allocations: 0 / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.8735, allocations: 68.67 kB / 0.9606 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.8738, allocations: 14.88 kB / 0.9606 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.8742, allocations: 198.1 kB / 0.9608 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.8743, allocations: 0.6962 MB / 0.9614 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.8744, allocations: 10.61 kB / 0.9615 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.8745, allocations: 16.84 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8745, allocations: 0 / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.003808/0.8783, allocations: 1.339 MB / 0.9628 GB, free: 1.578 MB / 0.7169 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/jenkins/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