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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001751/0.001751, allocations: 191.2 kB / 16.13 MB, free: 6.648 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.586/2.586, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.8119 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8258, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002261/0.8281, allocations: 0.7573 MB / 0.9497 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.8292, allocations: 0.8322 MB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.8293, allocations: 0 / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.8294, allocations: 5.062 kB / 0.9505 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.8295, allocations: 0 / 0.9505 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.8297, allocations: 24.52 kB / 0.9505 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.8298, allocations: 38.33 kB / 0.9505 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.8299, allocations: 13.67 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.83, allocations: 27.72 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.8301, allocations: 23.03 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.8301, allocations: 2.562 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.8301, allocations: 2.562 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.8302, allocations: 9.188 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.8302, allocations: 27.75 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.834e-05/0.8303, allocations: 39.89 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8303, allocations: 0 / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8303, allocations: 0 / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8303, allocations: 1.219 kB / 0.9507 GB, free: 7.73 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.0005016/0.8308, allocations: 346.6 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.8309, allocations: 9.906 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.8309, allocations: 7.188 kB / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.8311, allocations: 170.2 kB / 0.9512 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.8311, allocations: 5.812 kB / 0.9512 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.8311, allocations: 6.75 kB / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.8313, allocations: 81.02 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8314, allocations: 0 / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.8314, allocations: 4 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8314, allocations: 1.281 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.8316, allocations: 55.3 kB / 0.9513 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.832, allocations: 289.8 kB / 0.9516 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.8323, allocations: 69.98 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.8324, allocations: 30.95 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8324, allocations: 5.156 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.8324, allocations: 31.69 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.8324, allocations: 0 / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004167/0.8329, allocations: 105.6 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.8329, allocations: 53.69 kB / 0.9519 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.833, allocations: 113.9 kB / 0.952 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.833, allocations: 29.7 kB / 0.952 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.8331, allocations: 94.03 kB / 0.9521 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.8331, allocations: 13.84 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.8332, allocations: 12.91 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.8332, allocations: 324.1 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.8333, allocations: 20.36 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.8334, allocations: 29.58 kB / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.8336, allocations: 59 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8337, allocations: 0 / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002421/0.8339, allocations: 85.53 kB / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.8339, allocations: 8.891 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8339, allocations: 0 / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.834, allocations: 1.156 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.8341, allocations: 20.17 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.8341, allocations: 1.656 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.8342, allocations: 3.625 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.8342, allocations: 5.672 kB / 0.9527 GB, free: 5.766 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 (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 6.561e-05/0.8343, allocations: 115.8 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.8343, allocations: 1.406 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.8343, allocations: 9.812 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8343, allocations: 0 / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8343, allocations: 0 / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8344, allocations: 5.656 kB / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.8345, allocations: 183.3 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8345, allocations: 0 / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.8346, allocations: 12.92 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8346, allocations: 0 / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8346, allocations: 1.031 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8346, allocations: 256 / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8346, allocations: 1.125 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.8349, allocations: 192.5 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.835, allocations: 82.23 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.835, allocations: 5.328 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.8351, allocations: 7.406 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.8352, allocations: 7.734 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.8352, allocations: 1.188 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.8352, allocations: 88.39 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8352, allocations: 4 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002261/0.8354, allocations: 6.438 kB / 0.9534 GB, free: 5.039 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 (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.0001237/0.8356, allocations: 104.9 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.8358, allocations: 54.91 kB / 0.9535 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8358, allocations: 3.938 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.836, allocations: 38.78 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.8363, allocations: 6.938 kB / 0.9536 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.8367, allocations: 140.7 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.8369, allocations: 0.6845 MB / 0.9544 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.628e-05/0.8369, allocations: 7.062 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.837, allocations: 10.34 kB / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.837, allocations: 0 / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.003149/0.8401, allocations: 0.7766 MB / 0.9552 GB, free: 3.645 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