Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001341/0.001341, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001463/0.001463, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [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.002097/0.002097, allocations: 70.36 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3282, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00307/0.3313, allocations: 0.6523 MB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3329, allocations: 0.855 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.3329, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.333, allocations: 7.875 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.3331, allocations: 3.938 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3333, allocations: 31.95 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3334, allocations: 43.86 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3336, allocations: 7.984 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.3337, allocations: 23.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.3338, allocations: 23.91 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3338, allocations: 8 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.3338, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.3338, allocations: 7.984 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3339, allocations: 11.94 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.334, allocations: 59.66 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.334, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.334, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.334, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 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.0006961/0.3347, allocations: 272.2 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3348, allocations: 8.031 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.3348, allocations: 12.89 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.335, allocations: 114.5 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3351, allocations: 384 / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3351, allocations: 4.375 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3353, allocations: 62.22 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3353, allocations: 192 / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3353, allocations: 11.88 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3353, allocations: 4 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.3356, allocations: 43.95 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.3361, allocations: 236.4 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3364, allocations: 70.41 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3365, allocations: 28.91 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3366, allocations: 4 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3366, allocations: 30.56 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.3366, allocations: 0 / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005571/0.3372, allocations: 109.6 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3372, allocations: 51.41 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3373, allocations: 105.8 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3374, allocations: 25.7 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3374, allocations: 92.09 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3375, allocations: 7.938 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.3375, allocations: 17.72 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3377, allocations: 318.8 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3378, allocations: 27.91 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.338, allocations: 27.97 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.3382, allocations: 56.75 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3382, allocations: 0 / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003497/0.3386, allocations: 85.55 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3386, allocations: 8 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3386, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3386, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3388, allocations: 27.91 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3388, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.3389, allocations: 4 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3389, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 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 (reaToInt1.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.0002145/0.3391, allocations: 117.8 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.3392, allocations: 7.953 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.3392, allocations: 8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3392, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3392, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3392, allocations: 4.25 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.3395, allocations: 117.2 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3395, allocations: 11.94 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3396, allocations: 11.98 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3396, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3396, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3396, allocations: 3.984 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3396, allocations: 0 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.34, allocations: 183.8 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.34, allocations: 11.89 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3401, allocations: 48 / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3402, allocations: 11.97 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.3403, allocations: 11.98 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3403, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.3404, allocations: 87.28 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000335/0.3407, allocations: 4 kB / 1.288 GB, free: 7.586 MB / 0.9825 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 (reaToInt1.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.0001518/0.3408, allocations: 103.2 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3412, allocations: 55.95 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3412, allocations: 3.938 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3413, allocations: 31.91 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.3418, allocations: 14.44 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.3423, allocations: 147.3 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.3423, allocations: 67.34 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.3424, allocations: 11.44 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3424, allocations: 3.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of Templates: time 0.002805/0.3452, allocations: 0.8011 MB / 1.289 GB, free: 6.301 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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: 10.92478181887418]