Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001271/0.001271, allocations: 107.4 kB / 18.19 MB, free: 4.117 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.001304/0.001304, allocations: 193.9 kB / 21.34 MB, free: 0.9766 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.44/1.44, allocations: 225.6 MB / 249.9 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 443.5 MB / 0.731 GB, free: 14.13 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 1.06 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 160.7 MB / 1.217 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001946/0.3048, allocations: 0.6698 MB / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3058, allocations: 0.8389 MB / 1.218 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.3059, allocations: 0 / 1.218 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.3059, allocations: 7.938 kB / 1.218 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.306, allocations: 7.938 kB / 1.218 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.3061, allocations: 19.97 kB / 1.218 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.3062, allocations: 43.91 kB / 1.218 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.3063, allocations: 11.98 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.3063, allocations: 15.94 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.3064, allocations: 31.89 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.3064, allocations: 4 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.3064, allocations: 4 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3065, allocations: 7.984 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.3065, allocations: 15.88 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3066, allocations: 59.72 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3066, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3066, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3066, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 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.000544/0.3072, allocations: 351.3 kB / 1.219 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3072, allocations: 12.02 kB / 1.219 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3072, allocations: 4.938 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3074, allocations: 168.3 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3074, allocations: 4.375 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3074, allocations: 8.312 kB / 1.219 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3076, allocations: 66.22 kB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3076, allocations: 4.188 kB / 1.219 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3077, allocations: 3.938 kB / 1.219 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3077, allocations: 0 / 1.219 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.3079, allocations: 59.88 kB / 1.219 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.3083, allocations: 288.8 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3085, allocations: 58.55 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3086, allocations: 28.91 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3087, allocations: 0 / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3087, allocations: 42.5 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3087, allocations: 4 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004157/0.3091, allocations: 101.6 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3091, allocations: 59.34 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.3092, allocations: 109.8 kB / 1.22 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3093, allocations: 25.7 kB / 1.22 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3093, allocations: 84.12 kB / 1.22 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3093, allocations: 15.91 kB / 1.22 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3094, allocations: 17.72 kB / 1.22 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3095, allocations: 318.8 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3096, allocations: 19.98 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.3097, allocations: 27.91 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3099, allocations: 56.75 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3099, allocations: 4 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002297/0.3101, allocations: 81.66 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3101, allocations: 7.984 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3102, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3102, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3103, allocations: 11.98 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3103, allocations: 0 / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.3104, allocations: 8.281 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3104, allocations: 11.98 kB / 1.22 GB, free: 11.57 MB / 0.9669 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.885e-05/0.3105, allocations: 117.7 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3105, allocations: 7.938 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.3105, allocations: 11.89 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3105, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3105, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3105, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.3107, allocations: 181.5 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3107, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.3108, allocations: 15.98 kB / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3108, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3108, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3108, allocations: 4.25 kB / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3108, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3111, allocations: 187.4 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3112, allocations: 81.11 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3112, allocations: 7.922 kB / 1.221 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.3113, allocations: 8 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.3114, allocations: 7.984 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3114, allocations: 4 kB / 1.221 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.3114, allocations: 87.27 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3114, allocations: 0 / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002142/0.3116, allocations: 4 kB / 1.221 GB, free: 10.76 MB / 0.9669 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.0001128/0.3117, allocations: 107.2 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.312, allocations: 55.88 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.312, allocations: 0 / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3121, allocations: 27.92 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3124, allocations: 15.92 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3128, allocations: 159.1 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3131, allocations: 0.6807 MB / 1.222 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.3131, allocations: 11.42 kB / 1.222 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3131, allocations: 4 kB / 1.222 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of Templates: time 0.00222/0.3154, allocations: 0.8023 MB / 1.223 GB, free: 8.848 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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