Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001366/0.001366, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001603/0.001603, allocations: 212.9 kB / 23 MB, free: 4.934 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [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.002094/0.002094, allocations: 61.81 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002081/0.3845, allocations: 0.6145 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3858, allocations: 0.863 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.3858, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.3859, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.386, allocations: 3.938 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.3862, allocations: 8 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3863, allocations: 23.92 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3865, allocations: 15.97 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.3866, allocations: 11.94 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.3867, allocations: 11.98 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.3867, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.3867, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.3867, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.3868, allocations: 11.92 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.3869, allocations: 27.83 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3869, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3869, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.3869, allocations: 3.938 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007161/0.3877, allocations: 258.3 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.3877, allocations: 8.031 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.3878, allocations: 4.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.388, allocations: 110.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.388, allocations: 8.359 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.388, allocations: 4.375 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3883, allocations: 50.23 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3883, allocations: 192 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.3883, allocations: 3.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3883, allocations: 3.984 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.3885, allocations: 35.95 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.389, allocations: 208.5 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3892, allocations: 34.56 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.3893, allocations: 20.91 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3893, allocations: 11.92 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3893, allocations: 30.56 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3893, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004396/0.3898, allocations: 89.58 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.3898, allocations: 51.41 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.39, allocations: 105.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.39, allocations: 25.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.39, allocations: 84.08 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3901, allocations: 3.953 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3901, allocations: 21.66 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3903, allocations: 310.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.3904, allocations: 23.97 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.3904, allocations: 16.11 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3906, allocations: 44.81 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3906, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002665/0.3909, allocations: 73.53 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3909, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3909, allocations: 4.094 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3909, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3911, allocations: 11.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.3911, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001143/0.3913, allocations: 114.4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3913, allocations: 7.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.3913, allocations: 3.312 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3913, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3913, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.3913, allocations: 11.89 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3913, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3914, allocations: 7.984 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3915, allocations: 7.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003116/0.3918, allocations: 156.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003311/0.3922, allocations: 246.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.423e-05/0.3922, allocations: 11.98 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.3923, allocations: 83.28 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Backend: time 3.91e-07/0.3923, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.3927, allocations: 104 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006559/0.3934, allocations: 0.5534 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Templates: time 0.003484/0.3969, allocations: 0.7538 MB / 1.332 GB, free: 11.43 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.365645075005887]