Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001443/0.001443, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001519/0.001519, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 497.2 MB / 0.7812 GB, free: 12.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.RealToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003225/0.003225, allocations: 67.89 kB / 1.134 GB, free: 13.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9792/0.9824, allocations: 173.9 MB / 1.304 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001747/0.9841, allocations: 0.6134 MB / 1.305 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.9849, allocations: 0.8235 MB / 1.305 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.9849, allocations: 0 / 1.305 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.9849, allocations: 7.875 kB / 1.305 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.985, allocations: 3.938 kB / 1.305 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.9851, allocations: 20.81 kB / 1.305 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.9852, allocations: 25.97 kB / 1.305 GB, free: 31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.9853, allocations: 6.484 kB / 1.305 GB, free: 31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.9853, allocations: 13.95 kB / 1.305 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.9853, allocations: 16.62 kB / 1.305 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.9854, allocations: 3.219 kB / 1.305 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.9854, allocations: 0 / 1.305 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.9854, allocations: 2.562 kB / 1.305 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.9854, allocations: 13.52 kB / 1.305 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.101e-05/0.9855, allocations: 29.77 kB / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9855, allocations: 0 / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9855, allocations: 0 / 1.305 GB, free: 30.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.9855, allocations: 0 / 1.305 GB, free: 30.96 MB / 1.061 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.000386/0.9859, allocations: 340.5 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.9859, allocations: 8.688 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.9859, allocations: 34.75 kB / 1.306 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.986, allocations: 7.906 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.2e-05/0.9861, allocations: 171.7 kB / 1.306 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.9861, allocations: 4.312 kB / 1.306 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.9861, allocations: 3.219 kB / 1.306 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.9862, allocations: 53.5 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.9863, allocations: 3.938 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.9863, allocations: 4 kB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9863, allocations: 0 / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.9864, allocations: 32.34 kB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.9867, allocations: 253.5 kB / 1.306 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.9868, allocations: 51.06 kB / 1.306 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.9869, allocations: 21.78 kB / 1.306 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.9869, allocations: 4 kB / 1.306 GB, free: 29.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.9869, allocations: 33.16 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9869, allocations: 0 / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003317/0.9872, allocations: 87.28 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.9873, allocations: 55.34 kB / 1.307 GB, free: 29.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.9873, allocations: 102.7 kB / 1.307 GB, free: 29.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.9873, allocations: 25.7 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.9874, allocations: 80.14 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.9874, allocations: 6.484 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.9874, allocations: 12.25 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.9874, allocations: 318.6 kB / 1.307 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.9875, allocations: 18.25 kB / 1.307 GB, free: 29.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.9876, allocations: 19.83 kB / 1.307 GB, free: 29.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.9877, allocations: 42.55 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9877, allocations: 3.938 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001702/0.9879, allocations: 75.48 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9879, allocations: 11.3 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9879, allocations: 0 / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.9879, allocations: 0 / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.988, allocations: 9.312 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.988, allocations: 2.938 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.9881, allocations: 2.812 kB / 1.307 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.9881, allocations: 3.422 kB / 1.307 GB, free: 29.2 MB / 1.061 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 5.085e-05/0.9881, allocations: 120.6 kB / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.9882, allocations: 0 / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.9882, allocations: 10.06 kB / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9882, allocations: 0 / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9882, allocations: 0 / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9882, allocations: 0 / 1.307 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.9883, allocations: 161.7 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9883, allocations: 0 / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.9884, allocations: 13.2 kB / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9884, allocations: 0 / 1.308 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.9884, allocations: 4 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9884, allocations: 2.906 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9884, allocations: 11.22 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.9886, allocations: 170 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.9886, allocations: 80.44 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.9886, allocations: 0 / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.9887, allocations: 12.84 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.9887, allocations: 6.875 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.9887, allocations: 0 / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.9887, allocations: 81.56 kB / 1.308 GB, free: 28.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9887, allocations: 0 / 1.308 GB, free: 28.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000213/0.989, allocations: 5.688 kB / 1.308 GB, free: 28.53 MB / 1.061 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.000381/0.9893, allocations: 0.7001 MB / 1.309 GB, free: 27.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.9895, allocations: 41.28 kB / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9895, allocations: 0 / 1.309 GB, free: 27.85 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.9896, allocations: 26.92 kB / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.9899, allocations: 6.656 kB / 1.309 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.9903, allocations: 143.4 kB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.9904, allocations: 0.6755 MB / 1.31 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.9904, allocations: 3 kB / 1.31 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.9904, allocations: 11.5 kB / 1.31 GB, free: 26.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9904, allocations: 0 / 1.31 GB, free: 26.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/1.013, allocations: 1.466 MB / 1.311 GB, free: 26.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/9.226, allocations: 6.797 kB / 1.311 GB, free: 26.62 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.661102094687521]