Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001838/0.001838, 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.002096/0.002096, allocations: 189.8 kB / 16.13 MB, free: 6.629 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.651/1.651, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.164/3.164, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 60.14 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8736, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00284/0.8765, allocations: 0.7658 MB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.8779, allocations: 0.8312 MB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.878, allocations: 0 / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.8781, allocations: 3.938 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8782, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.8785, allocations: 23.92 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.8786, allocations: 47.91 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.8788, allocations: 15.97 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.8789, allocations: 19.92 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.879, allocations: 23.91 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.879, allocations: 7.938 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.8791, allocations: 0 / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.8791, allocations: 15.98 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.8791, allocations: 11.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8793, allocations: 43.8 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.8793, allocations: 4 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8793, allocations: 0 / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8793, allocations: 0 / 1.018 GB, free: 0.9414 MB / 0.7637 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.0007228/0.8801, allocations: 357.4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.8801, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.8802, allocations: 8.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.8804, allocations: 168.2 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.8804, allocations: 4.375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.8804, allocations: 4.375 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.8807, allocations: 81.64 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8807, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.8807, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.8808, allocations: 7.984 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.881, allocations: 47.95 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.8816, allocations: 284.8 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.8818, allocations: 70.47 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.882, allocations: 32.92 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.882, allocations: 0 / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.882, allocations: 30.56 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.882, allocations: 0 / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004809/0.8825, allocations: 113.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.8826, allocations: 55.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.8827, allocations: 117.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.8828, allocations: 25.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.8828, allocations: 80.14 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.8829, allocations: 15.84 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.8829, allocations: 17.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8831, allocations: 318.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.8833, allocations: 23.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.8834, allocations: 23.98 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.8836, allocations: 56.81 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8837, allocations: 256 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002688/0.8839, allocations: 93.48 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.884, allocations: 5.562 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.884, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.884, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.8842, allocations: 19.92 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8842, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.8843, allocations: 7.984 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.8843, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 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.0001406/0.8844, allocations: 118.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.8845, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.8845, allocations: 11.89 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8845, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.8845, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8846, allocations: 3.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.8848, allocations: 181.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8848, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.8849, allocations: 15.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8849, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.885, allocations: 3.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.885, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.885, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.8853, allocations: 191.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.8854, allocations: 77.11 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.8854, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.8855, allocations: 11.98 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.8856, allocations: 7.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.8856, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.8857, allocations: 87.28 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8857, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000225/0.8859, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 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.0001874/0.8861, allocations: 111.2 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.8864, allocations: 55.89 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8864, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.8866, allocations: 39.97 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.8869, allocations: 4 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.8874, allocations: 143.1 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8877, allocations: 0.6809 MB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.8878, allocations: 8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.8878, allocations: 15.42 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8878, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.003922/0.8918, allocations: 0.7683 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches