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.001645/0.001645, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.001543/0.001543, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.384/1.384, 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.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 66.06 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002127/0.3274, allocations: 0.6912 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3285, allocations: 0.8488 MB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3285, allocations: 0 / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3286, allocations: 3.938 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.3287, allocations: 7.875 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3288, allocations: 27.95 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.329, allocations: 43.91 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3291, allocations: 8 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3292, allocations: 23.92 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.3293, allocations: 31.89 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.3294, allocations: 4 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.3294, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.3294, allocations: 11.94 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3295, allocations: 19.92 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3296, allocations: 51.78 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3296, allocations: 4 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3296, allocations: 3.938 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3296, allocations: 0 / 0.9529 GB, free: 6.227 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.0006026/0.3302, allocations: 351.3 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3303, allocations: 12.02 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3303, allocations: 4.938 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3305, allocations: 172.3 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3306, allocations: 384 / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3306, allocations: 8.359 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3308, allocations: 69.78 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3308, allocations: 0 / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3309, allocations: 0 / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3309, allocations: 7.938 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.3311, allocations: 51.94 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3316, allocations: 292.8 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3318, allocations: 58.55 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3319, allocations: 40.84 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3319, allocations: 0 / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.332, allocations: 34.56 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.332, allocations: 0 / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004352/0.3324, allocations: 113.5 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3325, allocations: 55.41 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.3325, allocations: 101.9 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3326, allocations: 29.7 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.3326, allocations: 88.12 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3327, allocations: 11.91 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3327, allocations: 13.72 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3328, allocations: 322.8 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.3329, allocations: 23.92 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.333, allocations: 23.97 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3332, allocations: 60.81 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3332, allocations: 4.188 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000224/0.3335, allocations: 89.55 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3335, allocations: 4 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3335, allocations: 7.938 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3335, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3336, allocations: 11.98 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3337, allocations: 7.938 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.3337, allocations: 7.984 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3337, allocations: 0 / 0.9549 GB, free: 3.961 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 9.632e-05/0.3338, allocations: 119.8 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3339, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3339, allocations: 8.234 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3339, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3339, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3339, allocations: 3.984 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3341, allocations: 181.6 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3341, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.3342, allocations: 15.98 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3342, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3342, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3342, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3343, allocations: 3.984 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3345, allocations: 195.3 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3346, allocations: 85.03 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3346, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.3347, allocations: 4 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.3348, allocations: 11.98 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3348, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.3348, allocations: 91.27 kB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3349, allocations: 0 / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002301/0.3351, allocations: 4 kB / 0.9555 GB, free: 3.156 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.0001344/0.3352, allocations: 111.2 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3355, allocations: 51.94 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3355, allocations: 0 / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3356, allocations: 39.91 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3359, allocations: 4 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.3363, allocations: 133.5 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3366, allocations: 0.6883 MB / 0.9565 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.481e-05/0.3367, allocations: 4 kB / 0.9565 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.3367, allocations: 11.38 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.3367, allocations: 11.94 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.003275/0.34, allocations: 0.8861 MB / 0.9574 GB, free: 1.172 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 -s cvode -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