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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001476/0.001476, allocations: 115 kB / 16.37 MB, free: 5.539 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.001644/0.001644, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001965/0.2795, allocations: 0.7767 MB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.2805, allocations: 0.8721 MB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.2805, allocations: 0 / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.2806, allocations: 3.938 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.2807, allocations: 11.86 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.2808, allocations: 39.95 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2809, allocations: 87.81 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2811, allocations: 19.98 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.2811, allocations: 39.84 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.2812, allocations: 47.83 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2813, allocations: 12 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.2813, allocations: 8 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.2813, allocations: 23.89 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.2814, allocations: 43.67 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2815, allocations: 87.72 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2815, allocations: 0 / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2815, allocations: 0 / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2815, allocations: 0 / 0.9532 GB, free: 5.961 MB / 0.7325 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.0006135/0.2821, allocations: 403.1 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2822, allocations: 12.03 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2822, allocations: 8.844 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2824, allocations: 172.2 kB / 0.9537 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2824, allocations: 4.375 kB / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2824, allocations: 12.31 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.2827, allocations: 101.7 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2827, allocations: 0 / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2827, allocations: 7.938 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2828, allocations: 4 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.2831, allocations: 99.89 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.2836, allocations: 340.6 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.2842, allocations: 118.6 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2844, allocations: 64.78 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2845, allocations: 4 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2845, allocations: 30.56 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2845, allocations: 4 kB / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006295/0.2851, allocations: 185.6 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2852, allocations: 55.39 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.2853, allocations: 121.8 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2853, allocations: 25.7 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.2853, allocations: 108 kB / 0.955 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.2854, allocations: 15.75 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.2854, allocations: 25.7 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.2855, allocations: 314.8 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.2857, allocations: 47.95 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.2859, allocations: 60 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.2862, allocations: 92.72 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2862, allocations: 0 / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000374/0.2866, allocations: 145.5 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2866, allocations: 4 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2866, allocations: 0 / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2867, allocations: 4 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.2868, allocations: 23.97 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2868, allocations: 0 / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.287, allocations: 19.92 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.287, allocations: 4 kB / 0.9557 GB, free: 3.152 MB / 0.7325 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 8.453e-05/0.2871, allocations: 133.6 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.2871, allocations: 3.906 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.2871, allocations: 12.38 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2871, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2871, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2872, allocations: 3.938 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2874, allocations: 201.5 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2874, allocations: 0 / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2875, allocations: 23.97 kB / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2875, allocations: 4 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2876, allocations: 4 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2876, allocations: 0 / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2876, allocations: 0 / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.288, allocations: 231.3 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2881, allocations: 92.95 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2881, allocations: 0 / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2882, allocations: 19.97 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.2883, allocations: 23.97 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2883, allocations: 7.922 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.2884, allocations: 95.27 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2884, allocations: 0 / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002445/0.2887, allocations: 12 kB / 0.9565 GB, free: 2.207 MB / 0.7325 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.0001324/0.2888, allocations: 103.2 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.2892, allocations: 99.91 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2892, allocations: 0 / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2894, allocations: 63.88 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2898, allocations: 12 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.2902, allocations: 174.4 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.2905, allocations: 0.6922 MB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.266e-05/0.2905, allocations: 12 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.2906, allocations: 19.42 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2906, allocations: 0 / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of Templates: time 0.003946/0.2946, allocations: 1.578 MB / 0.9592 GB, free: 15.39 MB / 0.7481 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 -s gbode -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/jenkins1/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