Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001804/0.001804, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01312/0.01312, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.699/1.699, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.155/3.155, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.000444, allocations: 13.03 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4458, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001096/0.447, allocations: 441.4 kB / 1.07 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.4483, allocations: 0.8391 MB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.4484, allocations: 4 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.4484, allocations: 3.938 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.4485, allocations: 0 / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.4487, allocations: 23.91 kB / 1.071 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.4488, allocations: 43.91 kB / 1.071 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4489, allocations: 11.98 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.449, allocations: 19.94 kB / 1.071 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.4491, allocations: 23.84 kB / 1.071 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.4491, allocations: 4 kB / 1.071 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.4492, allocations: 0 / 1.071 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.4492, allocations: 11.97 kB / 1.071 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.4493, allocations: 33.64 kB / 1.071 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.4494, allocations: 47.8 kB / 1.071 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4494, allocations: 4 kB / 1.071 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4494, allocations: 0 / 1.071 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4494, allocations: 0 / 1.071 GB, free: 9.898 MB / 0.8262 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.0006012/0.45, allocations: 351.7 kB / 1.072 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4501, allocations: 12.03 kB / 1.072 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.4501, allocations: 0.9375 kB / 1.072 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4503, allocations: 172.3 kB / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4504, allocations: 384 / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4504, allocations: 4.375 kB / 1.072 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.4507, allocations: 85.72 kB / 1.072 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4507, allocations: 3.984 kB / 1.072 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4507, allocations: 0 / 1.072 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4507, allocations: 0 / 1.072 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.451, allocations: 59.95 kB / 1.072 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.4516, allocations: 288.8 kB / 1.072 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.4519, allocations: 78.5 kB / 1.072 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.452, allocations: 32.89 kB / 1.072 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.452, allocations: 0 / 1.072 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.4521, allocations: 38.55 kB / 1.072 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4521, allocations: 0 / 1.072 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005076/0.4526, allocations: 129.5 kB / 1.073 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.4527, allocations: 55.41 kB / 1.073 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4528, allocations: 105.8 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4529, allocations: 33.64 kB / 1.073 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.4529, allocations: 84.14 kB / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.453, allocations: 15.97 kB / 1.073 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.453, allocations: 9.719 kB / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4532, allocations: 322.7 kB / 1.073 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4534, allocations: 31.98 kB / 1.073 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4535, allocations: 35.91 kB / 1.073 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4537, allocations: 60.81 kB / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4537, allocations: 0 / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003011/0.454, allocations: 105.5 kB / 1.073 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4541, allocations: 5.562 kB / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4541, allocations: 0 / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4541, allocations: 0 / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4543, allocations: 20.17 kB / 1.073 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4543, allocations: 0 / 1.073 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.4544, allocations: 16 kB / 1.073 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4544, allocations: 7.984 kB / 1.073 GB, free: 7.555 MB / 0.8262 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 0.0001114/0.4545, allocations: 113.8 kB / 1.074 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.4545, allocations: 0 / 1.074 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.4546, allocations: 11.91 kB / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4546, allocations: 0 / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4546, allocations: 0 / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4546, allocations: 0 / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4549, allocations: 181.5 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4549, allocations: 4 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.455, allocations: 11.98 kB / 1.074 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.455, allocations: 0 / 1.074 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.455, allocations: 4 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.455, allocations: 0 / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.455, allocations: 0 / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.4554, allocations: 203.4 kB / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.4555, allocations: 85.03 kB / 1.074 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4555, allocations: 0 / 1.074 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4556, allocations: 8 kB / 1.074 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.4557, allocations: 15.98 kB / 1.074 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4557, allocations: 0 / 1.074 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.4558, allocations: 87.27 kB / 1.074 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4558, allocations: 0 / 1.074 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002306/0.456, allocations: 8 kB / 1.074 GB, free: 6.738 MB / 0.8262 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.0001651/0.4562, allocations: 99.19 kB / 1.074 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.4565, allocations: 72.31 kB / 1.074 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4565, allocations: 3.938 kB / 1.074 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4567, allocations: 40 kB / 1.074 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.457, allocations: 8 kB / 1.074 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.4574, allocations: 148.6 kB / 1.074 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4577, allocations: 0.6809 MB / 1.075 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.4578, allocations: 7.984 kB / 1.075 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4578, allocations: 15.44 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4578, allocations: 0 / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of Templates: time 0.003769/0.4616, allocations: 0.768 MB / 1.076 GB, free: 4.852 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches