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.001348/0.001348, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.002106/0.002106, allocations: 156.6 kB / 23.01 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.865/2.865, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002292/0.002292, allocations: 63.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.178, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001731/1.179, allocations: 0.6409 MB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008381/1.18, allocations: 0.8547 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/1.18, allocations: 2.906 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/1.18, allocations: 7.938 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/1.18, allocations: 3.938 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/1.18, allocations: 32.31 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/1.181, allocations: 39.8 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/1.181, allocations: 10.72 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/1.181, allocations: 29.05 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/1.181, allocations: 24.06 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/1.181, allocations: 4.906 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/1.181, allocations: 2.344 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/1.181, allocations: 9.781 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/1.181, allocations: 14.69 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.064e-05/1.181, allocations: 51.61 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.181, allocations: 3.469 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/1.181, allocations: 3.938 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.181, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 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.0004322/1.181, allocations: 270.7 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.181, allocations: 9.906 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/1.181, allocations: 8.891 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/1.182, allocations: 115.4 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/1.182, allocations: 3.188 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/1.182, allocations: 4.375 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/1.182, allocations: 74.16 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.182, allocations: 192 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.182, allocations: 6.281 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/1.182, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.182, allocations: 52.58 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/1.182, allocations: 223 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/1.182, allocations: 70.38 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.183, allocations: 33.91 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.183, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/1.183, allocations: 30.56 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/1.183, allocations: 2.875 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003926/1.183, allocations: 106.6 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/1.183, allocations: 54.28 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/1.183, allocations: 110.8 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/1.183, allocations: 28.48 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/1.183, allocations: 87.56 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/1.183, allocations: 14.69 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/1.183, allocations: 16.5 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.92e-05/1.183, allocations: 320.6 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/1.183, allocations: 22.06 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/1.183, allocations: 23.94 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.184, allocations: 60.52 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.184, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002164/1.184, allocations: 85.8 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.184, allocations: 5.938 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.184, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.184, allocations: 336 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.184, allocations: 14.94 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.184, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/1.184, allocations: 14.45 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.184, allocations: 2.625 kB / 1.157 GB, free: 30.6 MB / 1.076 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 5.184e-05/1.184, allocations: 112.8 kB / 1.157 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/1.184, allocations: 7.938 kB / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/1.184, allocations: 11.03 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.184, allocations: 3.938 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.184, allocations: 3.328 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/1.184, allocations: 0 / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/1.184, allocations: 113.2 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.184, allocations: 8.188 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.184, allocations: 18.14 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.184, allocations: 0 / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.184, allocations: 3.094 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/1.184, allocations: 0 / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.184, allocations: 2.75 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/1.185, allocations: 179.7 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/1.185, allocations: 10.48 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.185, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/1.185, allocations: 10 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/1.185, allocations: 13.08 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/1.185, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.714e-05/1.185, allocations: 87.95 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.185, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002235/1.185, allocations: 8.406 kB / 1.158 GB, free: 30.07 MB / 1.076 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 7.359e-05/1.185, allocations: 93.91 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002529/1.185, allocations: 66.44 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.185, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.186, allocations: 33.48 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/1.186, allocations: 6.688 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/1.186, allocations: 126.9 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/1.186, allocations: 67 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.817e-05/1.186, allocations: 6.562 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/1.186, allocations: 17.23 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/1.186, allocations: 0 / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of Templates: time 0.003286/1.19, allocations: 0.9452 MB / 1.159 GB, free: 29.63 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.340629023965448]