Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001726/0.001726, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.287/2.287, allocations: 390.3 MB / 0.665 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.44 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2353, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00213/0.2375, allocations: 0.7662 MB / 0.9505 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.2385, allocations: 0.8235 MB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2385, allocations: 0 / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.2386, allocations: 7.922 kB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.2387, allocations: 11.98 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2388, allocations: 19.92 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.2389, allocations: 39.92 kB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.239, allocations: 15.98 kB / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.2391, allocations: 27.91 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.2392, allocations: 23.92 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.2392, allocations: 4 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.2392, allocations: 4 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.2392, allocations: 11.92 kB / 0.9515 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2393, allocations: 23.92 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.927e-05/0.2394, allocations: 31.92 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2394, allocations: 4 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2394, allocations: 0 / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2394, allocations: 3.938 kB / 0.9516 GB, free: 7.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005215/0.2399, allocations: 355.6 kB / 0.9519 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.24, allocations: 12.03 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.24, allocations: 0.9375 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2401, allocations: 168.3 kB / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2401, allocations: 384 / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2402, allocations: 8.375 kB / 0.9521 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2404, allocations: 77.7 kB / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2404, allocations: 4 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2404, allocations: 3.984 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2404, allocations: 0 / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.2406, allocations: 51.89 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.241, allocations: 292.8 kB / 0.9525 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2413, allocations: 66.53 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2414, allocations: 28.92 kB / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2414, allocations: 0 / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2414, allocations: 42.5 kB / 0.9526 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2414, allocations: 0 / 0.9526 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004029/0.2418, allocations: 113.5 kB / 0.9527 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2419, allocations: 51.41 kB / 0.9528 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.242, allocations: 105.8 kB / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.242, allocations: 29.7 kB / 0.9529 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2421, allocations: 84.14 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2421, allocations: 11.91 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2421, allocations: 17.7 kB / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2422, allocations: 318.8 kB / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2423, allocations: 23.97 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.2424, allocations: 23.98 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2426, allocations: 60.75 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2426, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002345/0.2429, allocations: 89.48 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2429, allocations: 8 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2429, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2429, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2431, allocations: 15.98 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2431, allocations: 0 / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.2431, allocations: 11.98 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2432, allocations: 4 kB / 0.9535 GB, free: 5.086 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.054e-05/0.2432, allocations: 115.7 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.2433, allocations: 8 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.2433, allocations: 7.844 kB / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2433, allocations: 336 / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2433, allocations: 256 / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2433, allocations: 3.984 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2435, allocations: 181.6 kB / 0.9539 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2435, allocations: 4 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.2436, allocations: 15.97 kB / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2436, allocations: 0 / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2436, allocations: 3.984 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2436, allocations: 4 kB / 0.9539 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2436, allocations: 0 / 0.9539 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.2439, allocations: 187.3 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.244, allocations: 81.05 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.244, allocations: 0 / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.2441, allocations: 7.984 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.2442, allocations: 11.94 kB / 0.9542 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.2442, allocations: 7.984 kB / 0.9542 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.2442, allocations: 83.28 kB / 0.9542 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2442, allocations: 0 / 0.9542 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002198/0.2445, allocations: 8 kB / 0.9542 GB, free: 4.273 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000135/0.2446, allocations: 107.2 kB / 0.9543 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2449, allocations: 55.94 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2449, allocations: 0 / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.245, allocations: 35.91 kB / 0.9544 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2453, allocations: 4 kB / 0.9544 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.2456, allocations: 174.2 kB / 0.9546 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2459, allocations: 0.6883 MB / 0.9553 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.2459, allocations: 11.44 kB / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.246, allocations: 0 / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.00213/0.2481, allocations: 0.8199 MB / 0.9561 GB, free: 2.324 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches