Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009289/0.0009289, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002312, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007685/0.0007685, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001783, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9974/0.9974, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09911/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.467/2.467, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2641/2.731, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.196e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002239/0.002271, allocations: 0.717 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003316, allocations: 0.878 MB / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.003354, allocations: 0 / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.003386, allocations: 7.938 kB / 0.8205 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.003439, allocations: 11.92 kB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.47e-05/0.003534, allocations: 23.92 kB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.003627, allocations: 43.84 kB / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.003719, allocations: 11.98 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.003839, allocations: 27.92 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.003914, allocations: 27.89 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.003946, allocations: 4 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.003959, allocations: 4 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003979, allocations: 4 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.004004, allocations: 15.94 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004108, allocations: 23.92 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.004123, allocations: 4 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004124, allocations: 0 / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.004138, allocations: 0 / 0.8207 GB, free: 0.6875 MB / 0.7917 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.0004585/0.004597, allocations: 256.5 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.004634, allocations: 11.97 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.004671, allocations: 4.938 kB / 0.8209 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004788, allocations: 105.8 kB / 0.821 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.004813, allocations: 8.375 kB / 0.821 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.00483, allocations: 8.312 kB / 0.821 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.004993, allocations: 66.92 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005001, allocations: 192 / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005011, allocations: 4.375 kB / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005017, allocations: 384 / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.005057, allocations: 15.92 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.005485, allocations: 172.2 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005591, allocations: 38.5 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.005613, allocations: 16.86 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005629, allocations: 0 / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.005654, allocations: 38.56 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.005656, allocations: 0 / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001327/0.005788, allocations: 49.61 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.005823, allocations: 63.33 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.005878, allocations: 106.8 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005888, allocations: 25.7 kB / 0.8216 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.005921, allocations: 88.11 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.00594, allocations: 15.91 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.00597, allocations: 13.72 kB / 0.8217 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.006041, allocations: 322.8 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.006054, allocations: 4 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.006066, allocations: 4 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.006096, allocations: 16.84 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006097, allocations: 0 / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.327e-05/0.006151, allocations: 53.61 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.006165, allocations: 5.406 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00617, allocations: 256 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.006182, allocations: 3.938 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.006279, allocations: 19.98 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006281, allocations: 3.938 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.006308, allocations: 8 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.006313, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 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.316e-05/0.006366, allocations: 109.8 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.00638, allocations: 3.984 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.006403, allocations: 12 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.006406, allocations: 3.938 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.006408, allocations: 0 / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.00641, allocations: 0 / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.474e-05/0.006495, allocations: 77.88 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006496, allocations: 0 / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.006526, allocations: 11.98 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.006536, allocations: 11.89 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006537, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.006542, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.006545, allocations: 7.922 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006547, allocations: 3.938 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.006629, allocations: 143.5 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.006637, allocations: 0 / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.00667, allocations: 8 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.006716, allocations: 15.92 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.006719, allocations: 0 / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.006734, allocations: 12.84 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.006734, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001162/0.00685, allocations: 8 kB / 0.8226 GB, free: 14.54 MB / 0.8073 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 9.753e-05/0.006947, allocations: 80.42 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.752e-05/0.007025, allocations: 25.16 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.007031, allocations: 3.984 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.007064, allocations: 28.92 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.007232, allocations: 37.7 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.007635, allocations: 132.7 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.007677, allocations: 59.34 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.007707, allocations: 4 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.00777, allocations: 59.36 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.00777, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.002368/0.01014, allocations: 0.9505 MB / 0.8239 GB, free: 13.11 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1649474538862705]