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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001138/0.001138, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.496/1.496, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003965, allocations: 19.98 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.636, allocations: 153.8 MB / 1.024 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0008951/0.6369, allocations: 437.3 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.6379, allocations: 0.8273 MB / 1.025 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.6379, allocations: 0 / 1.025 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.638, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.6381, allocations: 7.922 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.6382, allocations: 19.98 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.6383, allocations: 47.84 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.6384, allocations: 12 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.6385, allocations: 11.98 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.6386, allocations: 27.89 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.6386, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.6386, allocations: 7.938 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.6387, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.6387, allocations: 41.62 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.6388, allocations: 35.91 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6388, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6388, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6388, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 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.0005054/0.6393, allocations: 353.5 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6394, allocations: 8.031 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.6394, allocations: 4.844 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.6396, allocations: 172.3 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.6396, allocations: 8.375 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.6396, allocations: 4.312 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.6399, allocations: 73.78 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.6399, allocations: 4 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6399, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6399, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.6402, allocations: 63.95 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.6406, allocations: 296.7 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.6408, allocations: 70.48 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.641, allocations: 36.91 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.641, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.641, allocations: 34.56 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.641, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004575/0.6415, allocations: 129.6 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.6415, allocations: 51.41 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.6416, allocations: 105.8 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6417, allocations: 25.7 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.6417, allocations: 91.98 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.6417, allocations: 15.83 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.6418, allocations: 13.72 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6419, allocations: 322.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.642, allocations: 27.97 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.6421, allocations: 27.98 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.6424, allocations: 65.09 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6424, allocations: 4 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002891/0.6427, allocations: 105.6 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6427, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6427, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6427, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6429, allocations: 16.17 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6429, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.643, allocations: 19.89 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.643, allocations: 4 kB / 1.027 GB, free: 12.17 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 8.185e-05/0.6431, allocations: 117.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.6431, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.6431, allocations: 7.906 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6431, allocations: 3.984 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6431, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6432, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.6433, allocations: 177.6 kB / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6434, allocations: 0 / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.6435, allocations: 19.98 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6435, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6435, allocations: 3.984 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6435, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6435, allocations: 3.938 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.6438, allocations: 199.3 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.6439, allocations: 77.11 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6439, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.644, allocations: 15.98 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.6441, allocations: 7.984 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.6441, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.6442, allocations: 87.28 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6442, allocations: 4 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002268/0.6444, allocations: 4 kB / 1.028 GB, free: 11.36 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.0001249/0.6445, allocations: 107.2 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6448, allocations: 75.89 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6448, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.645, allocations: 31.97 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.6453, allocations: 13.66 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.6457, allocations: 166.3 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.6459, allocations: 0.6848 MB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.646, allocations: 11.44 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.646, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.002279/0.6483, allocations: 0.8109 MB / 1.03 GB, free: 9.406 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=480 -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/jenkins1/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