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.001314/0.001314, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001377/0.001377, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.166/3.166, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002076/0.002076, allocations: 67.59 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002075/0.3277, allocations: 0.6609 MB / 1.321 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3288, allocations: 0.8708 MB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3289, allocations: 0 / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.3289, allocations: 3.938 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.329, allocations: 15.88 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.3291, allocations: 15.98 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.3292, allocations: 43.91 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3293, allocations: 8 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.3294, allocations: 23.91 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.3294, allocations: 27.91 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3294, allocations: 7.938 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3295, allocations: 4 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.3295, allocations: 7.984 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3295, allocations: 19.88 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.3296, allocations: 56 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3296, allocations: 0 / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3296, allocations: 0 / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3296, allocations: 0 / 1.323 GB, free: 1.555 MB / 1.014 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.0005597/0.3302, allocations: 347.4 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3303, allocations: 11.98 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.3303, allocations: 38.73 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.3303, allocations: 8.891 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3305, allocations: 168.3 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3305, allocations: 4.375 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3305, allocations: 8.375 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3308, allocations: 62.22 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3308, allocations: 3.938 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3308, allocations: 0 / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3308, allocations: 7.938 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.331, allocations: 51.92 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.3316, allocations: 292.7 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3318, allocations: 62.53 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3319, allocations: 32.84 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3319, allocations: 4 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3319, allocations: 34.56 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3319, allocations: 0 / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004471/0.3324, allocations: 109.6 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3324, allocations: 55.39 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3325, allocations: 101.9 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3326, allocations: 25.7 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.3326, allocations: 92.12 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3326, allocations: 11.91 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3327, allocations: 17.72 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3328, allocations: 318.8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3329, allocations: 28.17 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.333, allocations: 23.97 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.3333, allocations: 60.81 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3333, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002595/0.3335, allocations: 85.64 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3335, allocations: 4 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3335, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3335, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3337, allocations: 19.92 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3337, allocations: 3.938 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.3338, allocations: 11.98 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3338, allocations: 0 / 1.325 GB, free: 15.25 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 9.288e-05/0.3339, allocations: 117.8 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3339, allocations: 3.953 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3339, allocations: 3.906 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3339, allocations: 4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3339, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3339, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.3341, allocations: 177.5 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3341, allocations: 7.938 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.3342, allocations: 15.98 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3342, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3343, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3343, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3343, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3346, allocations: 187.4 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3347, allocations: 85.05 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3347, allocations: 4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.3348, allocations: 4.375 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3348, allocations: 11.98 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3348, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.278e-05/0.3349, allocations: 87.27 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3349, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002317/0.3351, allocations: 8 kB / 1.325 GB, free: 14.44 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.0006609/0.3358, allocations: 0.7232 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3361, allocations: 55.88 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3361, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3362, allocations: 31.97 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3365, allocations: 4.188 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3382, allocations: 1.323 MB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3386, allocations: 0.6846 MB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.3386, allocations: 4 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.3387, allocations: 19.42 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3387, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3637, allocations: 1.828 MB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.443, allocations: 2.078 kB / 1.33 GB, free: 9.754 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.003735059173778]