Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.69 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3468, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001855/0.3486, allocations: 0.6241 MB / 1.355 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3497, allocations: 0.867 MB / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.3498, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.3498, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.3499, allocations: 3.938 kB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.35, allocations: 11.98 kB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.3501, allocations: 23.94 kB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.3502, allocations: 7.969 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.3502, allocations: 11.94 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.3503, allocations: 11.98 kB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3503, allocations: 4 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.3503, allocations: 4 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3503, allocations: 11.94 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.3503, allocations: 7.984 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.3504, allocations: 31.83 kB / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3504, allocations: 0 / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3504, allocations: 0 / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3504, allocations: 0 / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004468/0.3509, allocations: 258.3 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3509, allocations: 12.03 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.351, allocations: 4.875 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3511, allocations: 122.4 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3511, allocations: 4.375 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3511, allocations: 384 / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3513, allocations: 50.23 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3513, allocations: 192 / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3513, allocations: 7.875 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3513, allocations: 0 / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3515, allocations: 39.95 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3518, allocations: 220 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.352, allocations: 46.44 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3521, allocations: 20.91 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3521, allocations: 3.984 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3522, allocations: 34.56 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3522, allocations: 0 / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003919/0.3526, allocations: 81.64 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3526, allocations: 59.34 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3527, allocations: 101.8 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3528, allocations: 25.83 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.3528, allocations: 88.14 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3528, allocations: 3.953 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3529, allocations: 13.72 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.353, allocations: 314.8 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.3531, allocations: 19.97 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.3532, allocations: 19.98 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3533, allocations: 44.88 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3533, allocations: 0 / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002086/0.3536, allocations: 77.53 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3536, allocations: 4 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3536, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3536, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3537, allocations: 12.02 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3537, allocations: 0 / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.3537, allocations: 4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3538, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.876e-05/0.3538, allocations: 118.4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3539, allocations: 3.953 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.3539, allocations: 7.5 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3539, allocations: 7.984 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3539, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3539, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3541, allocations: 136.6 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3541, allocations: 7.875 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.3541, allocations: 8 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3541, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3541, allocations: 3.984 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3541, allocations: 0 / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3541, allocations: 0 / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3544, allocations: 175.4 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.3544, allocations: 0 / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3544, allocations: 0 / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.3545, allocations: 7.984 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3546, allocations: 8 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3546, allocations: 3.984 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.3546, allocations: 83.31 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3546, allocations: 0 / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002218/0.3548, allocations: 4 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001098/0.355, allocations: 91.25 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3552, allocations: 43.95 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3552, allocations: 0 / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.3553, allocations: 27.98 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3556, allocations: 13.12 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.3559, allocations: 127.4 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3563, allocations: 0.6729 MB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3563, allocations: 11.42 kB / 1.359 GB, free: 2.797 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3563, allocations: 0 / 1.359 GB, free: 2.797 MB / 1.045 GB Notification: Performance of Templates: time 0.002007/0.3583, allocations: 0.6 MB / 1.359 GB, free: 2.199 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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: 11.572937471995829]