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.001745/0.001745, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002128/0.002128, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.5/1.5, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.762/2.762, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.69e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001891/0.001928, allocations: 0.6468 MB / 0.9516 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003232, allocations: 0.8626 MB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.003277, allocations: 0 / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.003313, allocations: 3.938 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.003392, allocations: 8 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.003577, allocations: 23.91 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.003688, allocations: 39.91 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003812, allocations: 15.92 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.003918, allocations: 31.91 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.003979, allocations: 11.98 kB / 0.9526 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.004017, allocations: 4 kB / 0.9526 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.004032, allocations: 8 kB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.004056, allocations: 15.92 kB / 0.9526 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.00409, allocations: 11.98 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.004217, allocations: 51.84 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.00422, allocations: 0 / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00422, allocations: 0 / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.004225, allocations: 0 / 0.9526 GB, free: 9.855 MB / 0.8575 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.0005593/0.004785, allocations: 278.2 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004826, allocations: 8.031 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.00486, allocations: 4.875 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.005012, allocations: 129.6 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005026, allocations: 4.375 kB / 0.953 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.005041, allocations: 384 / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.005258, allocations: 66.22 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00527, allocations: 192 / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.005283, allocations: 4.359 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005287, allocations: 384 / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.005505, allocations: 55.89 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.005931, allocations: 220.5 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.006139, allocations: 66.53 kB / 0.9534 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.006247, allocations: 28.92 kB / 0.9535 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.006264, allocations: 3.984 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.006296, allocations: 38.5 kB / 0.9535 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.006297, allocations: 0 / 0.9535 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.006741, allocations: 109.5 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.006785, allocations: 63.34 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.006883, allocations: 105.8 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.006902, allocations: 25.7 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.006953, allocations: 80.22 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.006984, allocations: 19.89 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.007026, allocations: 21.7 kB / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.007161, allocations: 310.8 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.007277, allocations: 23.97 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.007368, allocations: 23.98 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.007564, allocations: 60.75 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007566, allocations: 0 / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002456/0.007811, allocations: 81.64 kB / 0.9544 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.007828, allocations: 7.938 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007832, allocations: 0 / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.007852, allocations: 0 / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.007979, allocations: 20.23 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.007985, allocations: 0 / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.008056, allocations: 15.92 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.008064, allocations: 0 / 0.9544 GB, free: 7.84 MB / 0.8575 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 9.394e-05/0.008158, allocations: 113.8 kB / 0.9545 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.008186, allocations: 7.891 kB / 0.9546 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.008216, allocations: 11.98 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008218, allocations: 4 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.008222, allocations: 0 / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.008225, allocations: 0 / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.008375, allocations: 117.2 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008375, allocations: 3.938 kB / 0.9547 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-05/0.008464, allocations: 11.98 kB / 0.9547 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.00847, allocations: 4 kB / 0.9547 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.008483, allocations: 8.266 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008484, allocations: 0 / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008485, allocations: 0 / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.00878, allocations: 175.5 kB / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.008794, allocations: 19.89 kB / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.008817, allocations: 7.922 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.008909, allocations: 4 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.008976, allocations: 11.98 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.008983, allocations: 3.984 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.009034, allocations: 83.28 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009034, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002169/0.009251, allocations: 11.94 kB / 0.955 GB, free: 7.191 MB / 0.8575 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.0001154/0.009366, allocations: 95.25 kB / 0.9551 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.009627, allocations: 55.94 kB / 0.9552 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009628, allocations: 0 / 0.9552 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.009764, allocations: 35.97 kB / 0.9552 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.01009, allocations: 6.031 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.01045, allocations: 131.8 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.01052, allocations: 67.33 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.01056, allocations: 8 kB / 0.9554 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.01061, allocations: 16.5 kB / 0.9554 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.01061, allocations: 0 / 0.9554 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of Templates: time 0.003855/0.01447, allocations: 0.9471 MB / 0.9563 GB, free: 5.801 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.004638310521841]