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.0008049/0.0008049, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008494/0.0008494, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9013/0.9013, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.9505 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.099e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001256/0.001277, allocations: 0.6145 MB / 0.9511 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.001953, allocations: 0.8393 MB / 0.9519 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.001981, allocations: 0 / 0.9519 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.002006, allocations: 7.922 kB / 0.9519 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.002056, allocations: 0 / 0.9519 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002192, allocations: 11.94 kB / 0.9519 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.00225, allocations: 31.86 kB / 0.952 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.002336, allocations: 11.98 kB / 0.952 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.002398, allocations: 15.92 kB / 0.952 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.002437, allocations: 11.98 kB / 0.952 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.002457, allocations: 8 kB / 0.952 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.002463, allocations: 0 / 0.952 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.002476, allocations: 0 / 0.952 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.002494, allocations: 11.98 kB / 0.952 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.097e-05/0.002565, allocations: 27.89 kB / 0.952 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002566, allocations: 0 / 0.952 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/0.002568, allocations: 4 kB / 0.952 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002572, allocations: 3.938 kB / 0.952 GB, free: 0.7773 MB / 0.8542 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.0003017/0.002873, allocations: 262.3 kB / 0.9523 GB, free: 500 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.002907, allocations: 12.03 kB / 0.9523 GB, free: 488 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.002933, allocations: 34.75 kB / 0.9523 GB, free: 444 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.002951, allocations: 0.9375 kB / 0.9523 GB, free: 444 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.634e-05/0.003017, allocations: 113.7 kB / 0.9524 GB, free: 304 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.003035, allocations: 384 / 0.9524 GB, free: 304 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003042, allocations: 384 / 0.9524 GB, free: 304 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.003162, allocations: 54.17 kB / 0.9525 GB, free: 244 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003169, allocations: 4.172 kB / 0.9525 GB, free: 240 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.003177, allocations: 384 / 0.9525 GB, free: 240 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.003185, allocations: 12.11 kB / 0.9525 GB, free: 228 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.003276, allocations: 35.97 kB / 0.9525 GB, free: 192 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.003545, allocations: 216.1 kB / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.003624, allocations: 38.55 kB / 0.9528 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.00367, allocations: 24.91 kB / 0.9528 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.003682, allocations: 3.938 kB / 0.9528 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.003698, allocations: 34.5 kB / 0.9529 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.003699, allocations: 0 / 0.9529 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002093/0.003908, allocations: 93.62 kB / 0.9529 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.003932, allocations: 51.41 kB / 0.953 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.003982, allocations: 97.86 kB / 0.9531 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.003991, allocations: 25.7 kB / 0.9531 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.004018, allocations: 84.14 kB / 0.9532 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.004033, allocations: 7.938 kB / 0.9532 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.004067, allocations: 13.72 kB / 0.9532 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.004146, allocations: 315 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.004208, allocations: 27.86 kB / 0.9535 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.004246, allocations: 19.97 kB / 0.9536 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.004326, allocations: 36.83 kB / 0.9536 GB, free: 15 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004329, allocations: 4 kB / 0.9536 GB, free: 15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.004499, allocations: 77.66 kB / 0.9537 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.00451, allocations: 4 kB / 0.9537 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.004514, allocations: 0 / 0.9537 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.004525, allocations: 0 / 0.9537 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.004586, allocations: 11.98 kB / 0.9537 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.00459, allocations: 0 / 0.9537 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.004614, allocations: 7.984 kB / 0.9537 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.004618, allocations: 0 / 0.9537 GB, free: 14.89 MB / 0.8698 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 4.883e-05/0.004667, allocations: 113.8 kB / 0.9538 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.004681, allocations: 15.92 kB / 0.9538 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.004696, allocations: 7.297 kB / 0.9538 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004697, allocations: 3.938 kB / 0.9538 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.0047, allocations: 4 kB / 0.9538 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.004702, allocations: 0 / 0.9538 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.118e-05/0.004793, allocations: 128.8 kB / 0.954 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.004794, allocations: 0 / 0.954 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.004819, allocations: 8 kB / 0.954 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004822, allocations: 3.938 kB / 0.954 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.004828, allocations: 3.984 kB / 0.954 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004828, allocations: 4 kB / 0.954 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.004829, allocations: 0 / 0.954 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.004951, allocations: 163.5 kB / 0.9541 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.004957, allocations: 3.938 kB / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.004965, allocations: 0 / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.005008, allocations: 7.984 kB / 0.9541 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.005047, allocations: 11.94 kB / 0.9541 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.005051, allocations: 3.984 kB / 0.9542 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.648e-05/0.005078, allocations: 83.31 kB / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005078, allocations: 0 / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001353/0.005213, allocations: 4 kB / 0.9542 GB, free: 14.26 MB / 0.8698 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.0002657/0.005479, allocations: 0.6971 MB / 0.9549 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.005595, allocations: 43.89 kB / 0.955 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005596, allocations: 8.031 kB / 0.955 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.005639, allocations: 23.97 kB / 0.955 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.00583, allocations: 4 kB / 0.955 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.006131, allocations: 131.2 kB / 0.9551 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.975e-05/0.006171, allocations: 59.34 kB / 0.9552 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.006191, allocations: 64 / 0.9552 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.006224, allocations: 24.48 kB / 0.9552 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.006225, allocations: 0 / 0.9552 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.01948, allocations: 2.139 MB / 0.9573 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.819, allocations: 1.719 kB / 0.9573 GB, free: 11.2 MB / 0.8698 GB " [Timeout remaining time 293] (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/jenkins/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: 10.790350459516048]