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.0008591/0.0008591, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007829/0.0007829, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9198/0.9198, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.999e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001718/0.001738, allocations: 0.6572 MB / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.002552, allocations: 0.8548 MB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.002592, allocations: 4 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.002622, allocations: 3.938 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.002699, allocations: 7.969 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.002853, allocations: 27.86 kB / 0.9825 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.002935, allocations: 47.84 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003041, allocations: 11.98 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.003112, allocations: 19.98 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.003167, allocations: 23.91 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003192, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.003201, allocations: 4 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003221, allocations: 11.98 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.003246, allocations: 15.92 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.00335, allocations: 47.84 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.003354, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.432e-06/0.003355, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00336, allocations: 0 / 0.9826 GB, free: 0.8516 MB / 0.9323 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.0003861/0.003747, allocations: 278.2 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.003785, allocations: 8.031 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.003814, allocations: 34.75 kB / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.003836, allocations: 4.938 kB / 0.9829 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003937, allocations: 113.7 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003951, allocations: 384 / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.003962, allocations: 8.375 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.004102, allocations: 66.22 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.00411, allocations: 8.172 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.00412, allocations: 4.359 kB / 0.9831 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004126, allocations: 4.125 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.004242, allocations: 51.89 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.004591, allocations: 239.9 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.004722, allocations: 62.61 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.004779, allocations: 40.86 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.004796, allocations: 3.984 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004817, allocations: 34.56 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.004818, allocations: 3.938 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.005072, allocations: 105.5 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005104, allocations: 59.41 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.005168, allocations: 113.8 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.005178, allocations: 29.7 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.00522, allocations: 84.08 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.005238, allocations: 15.91 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.005274, allocations: 17.7 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.005351, allocations: 314.8 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.005408, allocations: 23.97 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/0.005456, allocations: 19.98 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.005558, allocations: 60.81 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.005559, allocations: 3.938 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.005693, allocations: 89.53 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.005709, allocations: 4 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005714, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.005728, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.005817, allocations: 15.98 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005822, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.005854, allocations: 11.98 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.00586, allocations: 0 / 0.9845 GB, free: 14.76 MB / 0.948 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 6.336e-05/0.005924, allocations: 113.8 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.005939, allocations: 3.938 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.005963, allocations: 11.98 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.005967, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005972, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005975, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.006101, allocations: 136.7 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.006103, allocations: 3.938 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.006145, allocations: 23.92 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.006147, allocations: 336 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006155, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.006158, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006159, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.006339, allocations: 187.4 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.00635, allocations: 3.938 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.006363, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.006407, allocations: 4 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.006461, allocations: 19.97 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006465, allocations: 256 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.006497, allocations: 91.28 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001456/0.006642, allocations: 11.88 kB / 0.9851 GB, free: 14.08 MB / 0.948 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.0003429/0.006985, allocations: 0.7201 MB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.007141, allocations: 59.95 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007144, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.0072, allocations: 31.91 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.007457, allocations: 4 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.008599, allocations: 1.311 MB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.008652, allocations: 67.28 kB / 0.9872 GB, free: 11.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.008697, allocations: 4 kB / 0.9872 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.00876, allocations: 24.48 kB / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/0.008761, allocations: 0 / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.02626, allocations: 2.53 MB / 0.9897 GB, free: 9.348 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.005, allocations: 2.188 kB / 0.9897 GB, free: 9.348 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/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] "Error: Could not read variable intToRea.u in file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.150351736694574]