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.001379/0.001379, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001486/0.001486, allocations: 207.4 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.332/3.332, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_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.002039/0.002039, allocations: 71.58 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002068/0.3578, allocations: 0.6541 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3589, allocations: 0.8591 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.359, allocations: 0 / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.359, allocations: 11.92 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.3591, allocations: 3.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3592, allocations: 23.92 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.3593, allocations: 35.97 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3594, allocations: 15.98 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.3595, allocations: 19.86 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.3595, allocations: 23.91 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3596, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.3596, allocations: 8 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3596, allocations: 8 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3596, allocations: 23.84 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3597, allocations: 44.09 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3597, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3597, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3597, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 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.0005669/0.3603, allocations: 274.3 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3604, allocations: 12.03 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.3604, allocations: 30.75 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3604, allocations: 12.94 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3605, allocations: 110.5 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3606, allocations: 12.3 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3606, allocations: 384 / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3608, allocations: 70.2 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3608, allocations: 3.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3608, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3608, allocations: 3.984 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.361, allocations: 51.95 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3615, allocations: 255.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3617, allocations: 58.55 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3618, allocations: 28.91 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3618, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3618, allocations: 30.56 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3618, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004142/0.3622, allocations: 113.6 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3623, allocations: 51.41 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.3624, allocations: 113.7 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3624, allocations: 25.7 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3624, allocations: 88.14 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3625, allocations: 11.89 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3625, allocations: 17.72 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3626, allocations: 322.8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3627, allocations: 23.97 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.3628, allocations: 27.97 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.363, allocations: 48.81 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.363, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002379/0.3633, allocations: 89.55 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3633, allocations: 8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3633, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3633, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3634, allocations: 15.97 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3634, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.3635, allocations: 4 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.3635, allocations: 4 kB / 1.367 GB, free: 10.28 MB / 1.061 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.28e-05/0.3636, allocations: 117.8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3636, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.3636, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3636, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3637, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3637, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3638, allocations: 144.6 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3638, allocations: 256 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.3639, allocations: 19.97 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3639, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3639, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3639, allocations: 7.938 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3639, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.3642, allocations: 195.7 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-06/0.3643, allocations: 0 / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3643, allocations: 7.938 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.3644, allocations: 7.984 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3644, allocations: 7.984 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3644, allocations: 4 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.3645, allocations: 83.28 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3645, allocations: 0 / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002185/0.3647, allocations: 8 kB / 1.367 GB, free: 9.594 MB / 1.061 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.0006112/0.3653, allocations: 0.724 MB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3656, allocations: 55.95 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3656, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3657, allocations: 31.91 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.366, allocations: 8.016 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3676, allocations: 1.314 MB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.573e-05/0.3677, allocations: 67.3 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.3677, allocations: 11.98 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3678, allocations: 15.44 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3678, allocations: 0 / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3978, allocations: 2.405 MB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 8.5 kB / 1.372 GB, free: 4.988 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 840.0] 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: 18.770747956819832]