Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001976/0.001976, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002434/0.002434, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.481/1.481, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.916/2.916, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.734e-05/4.061e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.003347/0.003388, allocations: 0.6654 MB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.005497, allocations: 0.8515 MB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.005562, allocations: 9.188 kB / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.005609, allocations: 3.938 kB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.005733, allocations: 3.938 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.005982, allocations: 25.94 kB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.006124, allocations: 43.91 kB / 0.8124 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.006268, allocations: 11.98 kB / 0.8124 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.006412, allocations: 27.92 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.006513, allocations: 19.97 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.006555, allocations: 4.562 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.006574, allocations: 4 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.006609, allocations: 12.77 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.006666, allocations: 11.98 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.006845, allocations: 53.06 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006849, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00685, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.006855, allocations: 0 / 0.8125 GB, free: 416 kB / 0.7605 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.0008521/0.007707, allocations: 276.1 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.007756, allocations: 8.031 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.007834, allocations: 8.891 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.008057, allocations: 113.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.008082, allocations: 2.781 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.008107, allocations: 8.375 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.008491, allocations: 66.22 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.008505, allocations: 4.125 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.00852, allocations: 384 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.008526, allocations: 0.9375 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.008928, allocations: 52.58 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.009622, allocations: 225.7 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.01, allocations: 66.52 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.0102, allocations: 30.41 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.01022, allocations: 0 / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.01029, allocations: 38.5 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.0103, allocations: 1.938 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0008332/0.01113, allocations: 105.8 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.01119, allocations: 56.75 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.01138, allocations: 105.8 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.01142, allocations: 29.7 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.01152, allocations: 88.03 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.01156, allocations: 21.08 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.01164, allocations: 17.7 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.0119, allocations: 314.8 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.01211, allocations: 24.5 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01229, allocations: 29.36 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.01263, allocations: 49.64 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01263, allocations: 0 / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005296/0.01316, allocations: 91.5 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.01319, allocations: 7.938 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.0132, allocations: 0 / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.01323, allocations: 4 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.01345, allocations: 17.08 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01346, allocations: 0 / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01359, allocations: 8.734 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.0136, allocations: 0 / 0.8143 GB, free: 14.41 MB / 0.7761 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.0001525/0.01375, allocations: 114.5 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.01382, allocations: 12.83 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.01385, allocations: 8 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01386, allocations: 1.094 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01386, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.01387, allocations: 4 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.01417, allocations: 110.6 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01417, allocations: 4 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.01434, allocations: 11.98 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01434, allocations: 0.6562 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.01436, allocations: 8.781 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01437, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.01437, allocations: 3.984 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.01499, allocations: 185 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01501, allocations: 3.984 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.01516, allocations: 8.906 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.01534, allocations: 4 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.01543, allocations: 15.34 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01545, allocations: 4 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001031/0.01555, allocations: 83.28 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01555, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004442/0.016, allocations: 11.94 kB / 0.8149 GB, free: 13.79 MB / 0.7761 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.0001856/0.01618, allocations: 95.25 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.01665, allocations: 56.38 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01666, allocations: 1.188 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.01689, allocations: 31.97 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.01741, allocations: 10.97 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.01799, allocations: 132.5 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01812, allocations: 75.75 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.01819, allocations: 6.25 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.01828, allocations: 20.48 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01828, allocations: 3.094 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.006192/0.02447, allocations: 0.9577 MB / 0.8162 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.952829278074205]