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.000862/0.000862, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0008818/0.0008818, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 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 0.9/0.9, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.754e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001202/0.001219, allocations: 0.6429 MB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.002109, allocations: 0.8509 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.002152, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.002184, allocations: 3.938 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.002276, allocations: 15.86 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.002461, allocations: 19.97 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.002553, allocations: 43.91 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.00267, allocations: 12 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.002767, allocations: 35.84 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.00283, allocations: 15.97 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.002859, allocations: 4 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.002869, allocations: 4 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.00289, allocations: 8 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.002917, allocations: 19.91 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003024, allocations: 47.8 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003026, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003027, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.003032, allocations: 3.938 kB / 1.001 GB, free: 11.81 MB / 0.9636 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.0003678/0.0034, allocations: 282.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.003437, allocations: 8.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.003465, allocations: 30.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.003487, allocations: 12.89 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.00357, allocations: 109.8 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.003581, allocations: 384 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.00359, allocations: 4.375 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.003722, allocations: 66.2 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.003727, allocations: 192 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003738, allocations: 8.375 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003744, allocations: 8.125 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.003858, allocations: 47.89 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.00416, allocations: 243.9 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.004282, allocations: 62.53 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.004346, allocations: 45.56 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004359, allocations: 4 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.004377, allocations: 34.56 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.004379, allocations: 3.984 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002747/0.004654, allocations: 105.6 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.004683, allocations: 51.41 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.004742, allocations: 105.8 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.004755, allocations: 29.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.004796, allocations: 88.09 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.004811, allocations: 7.953 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.00484, allocations: 21.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.004922, allocations: 318.8 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.004976, allocations: 27.91 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.005022, allocations: 19.98 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.005124, allocations: 52.81 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005126, allocations: 0 / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.005262, allocations: 97.53 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.005275, allocations: 4 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.005281, allocations: 7.875 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.005292, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.005371, allocations: 11.98 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.005376, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.005406, allocations: 11.92 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.005414, allocations: 4 kB / 1.003 GB, free: 9.719 MB / 0.9636 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.992e-05/0.005474, allocations: 113.8 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.005489, allocations: 11.89 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.005508, allocations: 7.984 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00551, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005513, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.005519, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.005669, allocations: 140.8 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.005671, allocations: 3.938 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.005709, allocations: 11.98 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005711, allocations: 4 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.005719, allocations: 7.984 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005719, allocations: 0 / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00572, allocations: 0 / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.005878, allocations: 179.4 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.005887, allocations: 11.89 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.005899, allocations: 4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.005942, allocations: 8.234 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.005991, allocations: 11.98 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005995, allocations: 4 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.006026, allocations: 83.28 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006026, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001448/0.006171, allocations: 12 kB / 1.004 GB, free: 9.035 MB / 0.9636 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.0003159/0.006487, allocations: 0.7152 MB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.006654, allocations: 59.92 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006655, allocations: 0 / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.006708, allocations: 35.97 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.006894, allocations: 4 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.007874, allocations: 1.319 MB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.007921, allocations: 79.22 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.007948, allocations: 0 / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.007989, allocations: 20.48 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.00799, allocations: 0 / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.02161, allocations: 2.534 MB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.749, allocations: 2.344 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/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] "Error: Could not read variable intToRea.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.93419977184385]