Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 186.6 kB / 20.71 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.83 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7891, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001537/0.7906, allocations: 0.6749 MB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.7914, allocations: 0.8361 MB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.7914, allocations: 0.7812 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.7914, allocations: 6.562 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.7915, allocations: 5.75 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.7916, allocations: 21.92 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.7917, allocations: 40.41 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.7918, allocations: 14.17 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.7918, allocations: 26.88 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.7919, allocations: 20.27 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.7919, allocations: 4.5 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.7919, allocations: 3.906 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.7919, allocations: 17.17 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.792, allocations: 21.58 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.231e-05/0.7921, allocations: 43.64 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7921, allocations: 0 / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7921, allocations: 0.7188 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7921, allocations: 0 / 1.273 GB, free: 6.562 MB / 0.9981 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.0003867/0.7924, allocations: 359.7 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.7925, allocations: 9.719 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.7925, allocations: 32.67 kB / 1.273 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.7925, allocations: 7.562 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.7926, allocations: 172.5 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.7926, allocations: 2.031 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.7926, allocations: 2.781 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7928, allocations: 72.52 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.7928, allocations: 8.812 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.7928, allocations: 0 / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7928, allocations: 0.9375 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.793, allocations: 53 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.7934, allocations: 281.1 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.7935, allocations: 69.03 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.7936, allocations: 31.14 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.7937, allocations: 0.7812 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.05e-05/0.7937, allocations: 37.19 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7937, allocations: 0 / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.794, allocations: 106.3 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.7941, allocations: 52.34 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.7941, allocations: 113.9 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.7941, allocations: 25.7 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.7941, allocations: 82.11 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.7942, allocations: 20.36 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.7942, allocations: 13.62 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.302e-05/0.7942, allocations: 325.5 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.7943, allocations: 29.09 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.7944, allocations: 26.88 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.7946, allocations: 52.69 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7946, allocations: 0.8438 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002168/0.7948, allocations: 87.36 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.7948, allocations: 5.25 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.7948, allocations: 1.156 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7948, allocations: 0 / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.7949, allocations: 16.83 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7949, allocations: 0.6875 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.795, allocations: 8.25 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.795, allocations: 1.031 kB / 1.275 GB, free: 4.715 MB / 0.9981 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 4.728e-05/0.7951, allocations: 121 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.7951, allocations: 3.672 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.7951, allocations: 9.031 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7951, allocations: 1.062 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7951, allocations: 0 / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7951, allocations: 1.125 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.7952, allocations: 178 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7952, allocations: 3.938 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.7953, allocations: 12.56 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7953, allocations: 1.031 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.7953, allocations: 5.5 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7953, allocations: 0.8438 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7953, allocations: 0 / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.7956, allocations: 187.3 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.7956, allocations: 81.02 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.7956, allocations: 0.75 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.7957, allocations: 13.56 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.7957, allocations: 12.12 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.7957, allocations: 5.062 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.7958, allocations: 83.09 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7958, allocations: 1.094 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002072/0.796, allocations: 9.406 kB / 1.276 GB, free: 4.023 MB / 0.9981 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.0003803/0.7964, allocations: 0.7216 MB / 1.276 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.7966, allocations: 52.45 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.7966, allocations: 4.969 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.7967, allocations: 32.25 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.797, allocations: 11.17 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.7981, allocations: 1.317 MB / 1.278 GB, free: 18.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.7984, allocations: 0.6793 MB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.7984, allocations: 11.08 kB / 1.279 GB, free: 17.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.7985, allocations: 15.59 kB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7985, allocations: 0.875 kB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.8219, allocations: 1.796 MB / 1.28 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.784, allocations: 12.48 kB / 1.28 GB, free: 17.01 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.20063782199577]