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.001906/0.001906, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002305/0.002305, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.474/1.474, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.021/3.021, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002108/0.002108, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.003, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001699/1.004, allocations: 0.6675 MB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/1.005, allocations: 0.8547 MB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/1.005, allocations: 1.344 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/1.005, allocations: 0.6094 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/1.005, allocations: 4.734 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/1.005, allocations: 27.44 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/1.005, allocations: 47.3 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/1.006, allocations: 14.45 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/1.006, allocations: 19.44 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/1.006, allocations: 22.58 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/1.006, allocations: 4.125 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/1.006, allocations: 5.5 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/1.006, allocations: 11.98 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/1.006, allocations: 16.59 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.455e-05/1.006, allocations: 43.28 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.006, allocations: 0.6562 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.006, allocations: 4 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.006, allocations: 3.938 kB / 1.188 GB, free: 15.06 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.0004291/1.006, allocations: 270.1 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/1.006, allocations: 10.23 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/1.006, allocations: 3.688 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.904e-05/1.006, allocations: 122.4 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.006, allocations: 7.109 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.007, allocations: 1.75 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/1.007, allocations: 66.41 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.007, allocations: 4.188 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.007, allocations: 7.938 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/1.007, allocations: 1.375 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/1.007, allocations: 47.91 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/1.007, allocations: 223.6 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/1.007, allocations: 69.23 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.008, allocations: 32.47 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/1.008, allocations: 1.312 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/1.008, allocations: 32.69 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/1.008, allocations: 0 / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004052/1.008, allocations: 109.5 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/1.008, allocations: 52.56 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/1.008, allocations: 106 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/1.008, allocations: 25.7 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/1.008, allocations: 90.94 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.008, allocations: 15.42 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/1.008, allocations: 18.89 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/1.008, allocations: 314.4 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/1.008, allocations: 22.08 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/1.008, allocations: 24.64 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/1.009, allocations: 53.7 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.009, allocations: 3.938 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002315/1.009, allocations: 92.11 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.009, allocations: 5.781 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.009, allocations: 0 / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.009, allocations: 4.5 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.009, allocations: 17.34 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.009, allocations: 0 / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/1.009, allocations: 6.594 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.009, allocations: 6.875 kB / 1.19 GB, free: 13.5 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.318e-05/1.009, allocations: 117.2 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/1.009, allocations: 5.766 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/1.009, allocations: 5.953 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.009, allocations: 1.688 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.009, allocations: 0.5625 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.009, allocations: 256 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.009, allocations: 118.2 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.009, allocations: 9.844 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/1.009, allocations: 15.91 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.009, allocations: 5.5 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.009, allocations: 1.312 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.009, allocations: 0 / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.009, allocations: 1.125 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/1.01, allocations: 181 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/1.01, allocations: 6.562 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/1.01, allocations: 2.203 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.01, allocations: 5.844 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/1.01, allocations: 10.67 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/1.01, allocations: 6.547 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.601e-05/1.01, allocations: 86.11 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.01, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002265/1.01, allocations: 7.422 kB / 1.191 GB, free: 12.98 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 8.634e-05/1.01, allocations: 107.3 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002613/1.01, allocations: 50.81 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.01, allocations: 0 / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/1.011, allocations: 32.92 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/1.011, allocations: 14.95 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/1.011, allocations: 124.8 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/1.011, allocations: 68.03 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.17e-05/1.011, allocations: 12.89 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/1.011, allocations: 13.3 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.011, allocations: 0 / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of Templates: time 0.003885/1.015, allocations: 0.9446 MB / 1.192 GB, free: 12.54 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.123959636082873]