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.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.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.000978/0.0009782, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001275/0.001275, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.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.592/2.592, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003964, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8279, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0009709/0.8289, allocations: 421.9 kB / 0.9548 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.8299, allocations: 0.8221 MB / 0.9556 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.83, allocations: 5 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.83, allocations: 0 / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.8301, allocations: 5.109 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.8303, allocations: 20.2 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.8304, allocations: 38.58 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.8305, allocations: 16.81 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.8306, allocations: 19.02 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.8307, allocations: 22.58 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.8307, allocations: 1.188 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.8307, allocations: 2.062 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.8307, allocations: 10.16 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.8307, allocations: 30.92 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.8308, allocations: 34.98 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8308, allocations: 4 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8308, allocations: 0 / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8309, allocations: 1.281 kB / 0.9559 GB, free: 6.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004808/0.8313, allocations: 343.6 kB / 0.9562 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8314, allocations: 9.062 kB / 0.9562 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.8314, allocations: 6.031 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.8315, allocations: 177.4 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8316, allocations: 2.281 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.8316, allocations: 2.188 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.8318, allocations: 73.2 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8318, allocations: 0 / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8318, allocations: 5.031 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8318, allocations: 3.953 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.832, allocations: 65.44 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.8324, allocations: 285.2 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.8326, allocations: 78.86 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.8328, allocations: 34.7 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.8328, allocations: 9.469 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.8328, allocations: 34.56 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.8328, allocations: 1.438 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.8332, allocations: 127.5 kB / 0.9571 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.8332, allocations: 56.75 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.8333, allocations: 104.7 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.8333, allocations: 26.58 kB / 0.9572 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.8333, allocations: 85.36 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.8334, allocations: 14.22 kB / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.8334, allocations: 0 / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.8334, allocations: 327.7 kB / 0.9576 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.8335, allocations: 29.64 kB / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.8336, allocations: 29.97 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.8337, allocations: 30.17 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8337, allocations: 0 / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002059/0.8339, allocations: 98.33 kB / 0.9578 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.834, allocations: 9.516 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.834, allocations: 0 / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.834, allocations: 1.094 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8341, allocations: 19.11 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8342, allocations: 0.9688 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.8342, allocations: 13.92 kB / 0.9579 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.8342, allocations: 2.031 kB / 0.9579 GB, free: 4.633 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: 2 (abs1.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.8343, allocations: 107.7 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.8343, allocations: 10.06 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.8344, allocations: 17.09 kB / 0.958 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8344, allocations: 0 / 0.958 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8344, allocations: 5.281 kB / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8344, allocations: 0 / 0.958 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.8345, allocations: 168.2 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8345, allocations: 3.984 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/0.8346, allocations: 19.39 kB / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8346, allocations: 0 / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.8347, allocations: 5.312 kB / 0.9582 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8347, allocations: 3.953 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8347, allocations: 1.312 kB / 0.9582 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.8349, allocations: 189.1 kB / 0.9584 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.835, allocations: 82.58 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.835, allocations: 1.781 kB / 0.9585 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.8351, allocations: 13.95 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.8351, allocations: 16.16 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.8352, allocations: 0.9375 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.8352, allocations: 88.86 kB / 0.9586 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8352, allocations: 0 / 0.9586 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.8354, allocations: 5.969 kB / 0.9586 GB, free: 3.906 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001041/0.8355, allocations: 107.6 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.8358, allocations: 72.05 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8358, allocations: 1.344 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.8359, allocations: 35.38 kB / 0.9588 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.8362, allocations: 9.656 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.8365, allocations: 140.9 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.8366, allocations: 0.6878 MB / 0.9596 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.8367, allocations: 7.562 kB / 0.9596 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.8367, allocations: 13.23 kB / 0.9596 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8367, allocations: 1.781 kB / 0.9596 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.002926/0.8397, allocations: 0.7315 MB / 0.9603 GB, free: 2.527 MB / 0.7169 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/jenkins/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