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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.9 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=518,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=518,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 0.00183/0.00183, allocations: 70.27 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2728, allocations: 172.1 MB / 1.295 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001835/0.2746, allocations: 0.6896 MB / 1.296 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.2756, allocations: 0.8316 MB / 1.296 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.2756, allocations: 0 / 1.296 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.2756, allocations: 3.938 kB / 1.296 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.2757, allocations: 3.938 kB / 1.296 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.2758, allocations: 27.92 kB / 1.296 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.214e-05/0.2759, allocations: 39.97 kB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.276, allocations: 19.91 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.2761, allocations: 15.94 kB / 1.296 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.2761, allocations: 27.91 kB / 1.296 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2762, allocations: 8 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.2762, allocations: 4 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2762, allocations: 11.92 kB / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.2762, allocations: 19.92 kB / 1.296 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.772e-05/0.2763, allocations: 47.73 kB / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2763, allocations: 0 / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2763, allocations: 0 / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2763, allocations: 0 / 1.297 GB, free: 10.01 MB / 0.9981 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.0005346/0.2769, allocations: 347.4 kB / 1.297 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2769, allocations: 16.02 kB / 1.297 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2769, allocations: 4.891 kB / 1.297 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2771, allocations: 172.3 kB / 1.297 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2771, allocations: 4.312 kB / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2771, allocations: 4.375 kB / 1.297 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2773, allocations: 70.2 kB / 1.297 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2773, allocations: 192 / 1.297 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2773, allocations: 3.938 kB / 1.297 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2773, allocations: 0 / 1.297 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.2775, allocations: 59.94 kB / 1.297 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.278, allocations: 280.8 kB / 1.297 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.2782, allocations: 62.48 kB / 1.298 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2783, allocations: 32.91 kB / 1.298 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2783, allocations: 4 kB / 1.298 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2783, allocations: 30.56 kB / 1.298 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2783, allocations: 0 / 1.298 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003923/0.2787, allocations: 109.5 kB / 1.298 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2787, allocations: 51.41 kB / 1.298 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2788, allocations: 113.8 kB / 1.298 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2789, allocations: 29.7 kB / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2789, allocations: 84.12 kB / 1.298 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2789, allocations: 11.91 kB / 1.298 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.279, allocations: 13.72 kB / 1.298 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2791, allocations: 326.8 kB / 1.298 GB, free: 8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.2792, allocations: 23.92 kB / 1.298 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.2793, allocations: 27.97 kB / 1.298 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.2795, allocations: 56.75 kB / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2795, allocations: 0 / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002327/0.2797, allocations: 81.59 kB / 1.298 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2797, allocations: 11.98 kB / 1.298 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2797, allocations: 0 / 1.298 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2797, allocations: 336 / 1.298 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2799, allocations: 15.98 kB / 1.298 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.2799, allocations: 0 / 1.298 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.2799, allocations: 4 kB / 1.299 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.2799, allocations: 3.984 kB / 1.299 GB, free: 7.77 MB / 0.9981 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 8.249e-05/0.28, allocations: 117.8 kB / 1.299 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.28, allocations: 11.94 kB / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.2801, allocations: 7.906 kB / 1.299 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2801, allocations: 0 / 1.299 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2801, allocations: 4.25 kB / 1.299 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2801, allocations: 0 / 1.299 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.2803, allocations: 189.6 kB / 1.299 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2803, allocations: 0 / 1.299 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.2804, allocations: 11.98 kB / 1.299 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2804, allocations: 0 / 1.299 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2804, allocations: 0 / 1.299 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2804, allocations: 3.938 kB / 1.299 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2804, allocations: 0 / 1.299 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.2807, allocations: 187.4 kB / 1.299 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2807, allocations: 81.06 kB / 1.299 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2807, allocations: 3.984 kB / 1.299 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.2808, allocations: 8 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.2809, allocations: 7.984 kB / 1.299 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2809, allocations: 4 kB / 1.299 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.2809, allocations: 87.27 kB / 1.299 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.2809, allocations: 4 kB / 1.299 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002096/0.2811, allocations: 8 kB / 1.299 GB, free: 6.949 MB / 0.9981 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.0001039/0.2812, allocations: 95.78 kB / 1.299 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2815, allocations: 59.88 kB / 1.299 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2815, allocations: 3.938 kB / 1.299 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2816, allocations: 27.98 kB / 1.299 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2819, allocations: 17.95 kB / 1.299 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.2822, allocations: 151 kB / 1.3 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2825, allocations: 0.6807 MB / 1.3 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.2825, allocations: 15.42 kB / 1.3 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.2825, allocations: 0 / 1.3 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.002241/0.2848, allocations: 0.7991 MB / 1.301 GB, free: 5.047 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,intToRea.u,intToRea.y Variables in the result:intToRea.u,intToRea.y,time