Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001604/0.001604, allocations: 104.7 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.001959/0.001959, allocations: 210.4 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.554/1.554, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.002212/0.002212, allocations: 67.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8067, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001852/0.8086, allocations: 0.6313 MB / 1.279 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.8096, allocations: 0.8471 MB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.8097, allocations: 8 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.8097, allocations: 3.938 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.8097, allocations: 4 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.8099, allocations: 23.91 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.678e-05/0.8099, allocations: 23.92 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.81, allocations: 4 kB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.8101, allocations: 11.98 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.8101, allocations: 19.86 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.8102, allocations: 4 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.8102, allocations: 0 / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.8102, allocations: 11.98 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.8102, allocations: 7.938 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.88e-05/0.8103, allocations: 25.78 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8103, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8103, allocations: 7.938 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8103, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004671/0.8108, allocations: 331.5 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8108, allocations: 8.031 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.8108, allocations: 42.69 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.8109, allocations: 4.938 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.811, allocations: 164.3 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.811, allocations: 384 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.811, allocations: 8.359 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.8112, allocations: 50.23 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8112, allocations: 7.875 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.8112, allocations: 0 / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.8112, allocations: 0 / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.8114, allocations: 43.94 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.8118, allocations: 252.9 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.8119, allocations: 42.5 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.812, allocations: 20.91 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.812, allocations: 3.984 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.8121, allocations: 42.5 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.8121, allocations: 0 / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003794/0.8124, allocations: 81.64 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.8125, allocations: 51.41 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.8126, allocations: 101.8 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.8126, allocations: 29.83 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.8126, allocations: 88.12 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.8126, allocations: 3.953 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.8127, allocations: 13.72 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8128, allocations: 314.8 kB / 1.281 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.8129, allocations: 19.97 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.813, allocations: 19.92 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.8131, allocations: 44.88 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8132, allocations: 3.938 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/0.8134, allocations: 69.66 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8134, allocations: 4 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8134, allocations: 0 / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.8134, allocations: 4.031 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8135, allocations: 11.98 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8135, allocations: 0 / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.8136, allocations: 4 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.8136, allocations: 0 / 1.282 GB, free: 9.73 MB / 0.9825 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.778e-05/0.8137, allocations: 132 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.8137, allocations: 0 / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.8137, allocations: 7.062 kB / 1.282 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8137, allocations: 4 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.8137, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.8137, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.8139, allocations: 169.6 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8139, allocations: 0 / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.814, allocations: 4 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.814, allocations: 0 / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.814, allocations: 7.984 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.814, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.814, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.8142, allocations: 171.4 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.8143, allocations: 77.11 kB / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.8143, allocations: 0 / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.8144, allocations: 7.984 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.8144, allocations: 8 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.8144, allocations: 3.938 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.8145, allocations: 87.3 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8145, allocations: 0 / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002191/0.8147, allocations: 8 kB / 1.282 GB, free: 8.961 MB / 0.9825 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005853/0.8153, allocations: 0.6974 MB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.8155, allocations: 39.95 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8155, allocations: 0 / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.8156, allocations: 27.91 kB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.8159, allocations: 0 / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.8164, allocations: 131.4 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.8167, allocations: 0.6806 MB / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.8167, allocations: 4 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.8167, allocations: 11.44 kB / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8167, allocations: 0 / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.8407, allocations: 1.471 MB / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.03, allocations: 12 kB / 1.285 GB, free: 5.914 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_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_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! Error: Could not read variable reaToInt.y in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.21508141909726]