Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001513/0.001513, allocations: 211.7 kB / 22.25 MB, free: 5.105 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: 230.6 MB / 256 MB, free: 7.824 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.286/3.286, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [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.002/0.002, allocations: 67.52 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.387, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002243/0.3892, allocations: 0.6495 MB / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3905, allocations: 0.8596 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.3906, allocations: 4 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.3906, allocations: 3.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.3907, allocations: 3.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.3909, allocations: 23.98 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.391, allocations: 51.83 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3911, allocations: 11.98 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.714e-05/0.3912, allocations: 16 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.3913, allocations: 31.83 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3913, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.3913, allocations: 7.938 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.3913, allocations: 8 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.3913, allocations: 19.92 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3915, allocations: 47.59 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3915, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3915, allocations: 3.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3915, allocations: 0 / 1.328 GB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005443/0.392, allocations: 278.3 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.3921, allocations: 8.031 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.3921, allocations: 34.75 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3922, allocations: 4.891 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3923, allocations: 122.5 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3923, allocations: 384 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3923, allocations: 8.375 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.3925, allocations: 66.22 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3925, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3926, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3926, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.3928, allocations: 55.89 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.3932, allocations: 251.9 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3934, allocations: 58.55 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3935, allocations: 32.84 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3935, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3935, allocations: 34.56 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3935, allocations: 0 / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004453/0.394, allocations: 109.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.394, allocations: 55.41 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3941, allocations: 109.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3942, allocations: 25.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3942, allocations: 92.19 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3942, allocations: 11.91 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.3943, allocations: 17.72 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3944, allocations: 318.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3946, allocations: 27.92 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.3946, allocations: 27.97 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3948, allocations: 52.81 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3948, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002533/0.3951, allocations: 85.64 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3951, allocations: 9.656 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3951, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3951, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3953, allocations: 19.98 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3953, allocations: 7.875 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3954, allocations: 11.92 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3954, allocations: 0 / 1.329 GB, free: 13.66 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 (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 0.0001066/0.3955, allocations: 118.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3955, allocations: 3.953 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.3955, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3955, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3955, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3955, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.3957, allocations: 144.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3957, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3958, allocations: 15.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3958, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3958, allocations: 256 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3958, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.951e-05/0.3959, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3962, allocations: 187.4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.3962, allocations: 7.953 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3962, allocations: 4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3963, allocations: 7.984 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3964, allocations: 11.98 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3964, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.3965, allocations: 91.27 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3965, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002171/0.3967, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 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.0006152/0.3973, allocations: 0.7128 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.3975, allocations: 67.91 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3976, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3977, allocations: 27.97 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.398, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3996, allocations: 1.315 MB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/0.3997, allocations: 71.27 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3997, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.3998, allocations: 19.44 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3998, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.4279, allocations: 2.424 MB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.55, allocations: 6.297 kB / 1.335 GB, free: 8.359 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.322646943997825]