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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.88 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9327, allocations: 168.7 MB / 1.269 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00239/0.9351, allocations: 0.7016 MB / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.9364, allocations: 0.8468 MB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.9365, allocations: 0 / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.9365, allocations: 3.938 kB / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.9366, allocations: 7.938 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.9367, allocations: 15.98 kB / 1.27 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.9369, allocations: 43.91 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.937, allocations: 15.98 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.9371, allocations: 23.91 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.9371, allocations: 23.92 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.9372, allocations: 4 kB / 1.27 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.9372, allocations: 4 kB / 1.27 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.9372, allocations: 19.92 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.9372, allocations: 23.91 kB / 1.27 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.9374, allocations: 49.52 kB / 1.27 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9374, allocations: 0 / 1.27 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9374, allocations: 0 / 1.27 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.9374, allocations: 0 / 1.27 GB, free: 3.336 MB / 0.9669 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.0006155/0.938, allocations: 359.3 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.9381, allocations: 12.03 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.9381, allocations: 34.75 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.9381, allocations: 0.9375 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.9383, allocations: 172.3 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.9383, allocations: 8.375 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.9384, allocations: 8.125 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.9386, allocations: 65.66 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.9386, allocations: 3.938 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.9386, allocations: 0 / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.9386, allocations: 0 / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.9388, allocations: 59.94 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.9393, allocations: 284.8 kB / 1.271 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.9395, allocations: 62.48 kB / 1.272 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.9396, allocations: 32.91 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.9397, allocations: 4 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.9397, allocations: 34.56 kB / 1.272 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.9397, allocations: 0 / 1.272 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004081/0.9401, allocations: 113.8 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.9401, allocations: 55.41 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.9402, allocations: 109.8 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.9403, allocations: 25.7 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.9403, allocations: 88.12 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.9403, allocations: 15.84 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.9404, allocations: 21.66 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9405, allocations: 318.8 kB / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.9406, allocations: 23.92 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.9407, allocations: 31.97 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.9409, allocations: 52.81 kB / 1.272 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9409, allocations: 0 / 1.272 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002777/0.9412, allocations: 81.66 kB / 1.272 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9412, allocations: 4 kB / 1.272 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9412, allocations: 3.984 kB / 1.272 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9412, allocations: 4 kB / 1.272 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.9413, allocations: 19.92 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.9414, allocations: 0 / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.9414, allocations: 7.953 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.9414, allocations: 7.922 kB / 1.273 GB, free: 1.02 MB / 0.9669 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.0001022/0.9415, allocations: 117.8 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.9416, allocations: 0 / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.9416, allocations: 11.91 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9416, allocations: 0 / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9416, allocations: 4 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9416, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.9418, allocations: 177.6 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9418, allocations: 4 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.9419, allocations: 11.98 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9419, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.9419, allocations: 256 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9419, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9419, allocations: 4 kB / 1.273 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.9422, allocations: 199.3 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.9423, allocations: 77.11 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.9423, allocations: 0 / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.9424, allocations: 7.984 kB / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.9425, allocations: 11.98 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.9425, allocations: 0 / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.9425, allocations: 95.2 kB / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.9425, allocations: 4 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002229/0.9428, allocations: 4 kB / 1.273 GB, free: 204 kB / 0.9669 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.0007928/0.9435, allocations: 0.7093 MB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.9438, allocations: 71.91 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9438, allocations: 3.938 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.9439, allocations: 27.98 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.9443, allocations: 7.984 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.9459, allocations: 1.323 MB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.9463, allocations: 0.6846 MB / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.9463, allocations: 4 kB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.9463, allocations: 19.44 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.9463, allocations: 0 / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.9722, allocations: 1.827 MB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/9.185, allocations: 8.766 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.252636962104589]