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.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.001873/0.001873, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002083/0.002083, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.753/2.753, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.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 0.0019/0.0019, allocations: 67.89 kB / 1.104 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8262, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001913/0.8281, allocations: 0.6133 MB / 1.269 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.8291, allocations: 0.8312 MB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.8292, allocations: 3.938 kB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.8292, allocations: 3.984 kB / 1.27 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.8293, allocations: 3.938 kB / 1.27 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.8294, allocations: 15.94 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.8295, allocations: 23.98 kB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.8296, allocations: 7.984 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.8296, allocations: 11.94 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.8297, allocations: 15.97 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.8297, allocations: 0 / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.8297, allocations: 4 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.8297, allocations: 0 / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.8298, allocations: 15.92 kB / 1.27 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.691e-05/0.8299, allocations: 33.66 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8299, allocations: 4 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8299, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8299, allocations: 0 / 1.27 GB, free: 3.555 MB / 0.9669 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.0005634/0.8304, allocations: 337.5 kB / 1.271 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8305, allocations: 12.03 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.8305, allocations: 34.73 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.8306, allocations: 8.891 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8307, allocations: 168.3 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.8307, allocations: 384 / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.8307, allocations: 4.375 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8309, allocations: 50.23 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8309, allocations: 3.938 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.8309, allocations: 4 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.8309, allocations: 0 / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.8311, allocations: 39.89 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.8315, allocations: 253 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.8316, allocations: 42.48 kB / 1.271 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.8317, allocations: 24.91 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.8317, allocations: 3.938 kB / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.8318, allocations: 30.56 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8318, allocations: 7.938 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/0.8321, allocations: 81.64 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.8322, allocations: 55.39 kB / 1.271 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.8323, allocations: 101.9 kB / 1.271 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.8323, allocations: 25.7 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.8324, allocations: 84.09 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.8324, allocations: 4.125 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.8324, allocations: 21.7 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8326, allocations: 310.8 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.8327, allocations: 23.92 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.8327, allocations: 15.97 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.8329, allocations: 48.83 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.8329, allocations: 3.938 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.8331, allocations: 69.61 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8331, allocations: 8 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8331, allocations: 0 / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8331, allocations: 0 / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.8332, allocations: 7.984 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8332, allocations: 0 / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.8333, allocations: 12.02 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.8333, allocations: 4 kB / 1.272 GB, free: 1.457 MB / 0.9669 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.428e-05/0.8334, allocations: 113.8 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.8334, allocations: 192 / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.8334, allocations: 7.125 kB / 1.272 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.8334, allocations: 3.984 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.8334, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8334, allocations: 7.922 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.8336, allocations: 161.6 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8336, allocations: 0 / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.8337, allocations: 11.98 kB / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8337, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8337, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8337, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8337, allocations: 0 / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.834, allocations: 179.4 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.834, allocations: 85.05 kB / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.834, allocations: 0 / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.8341, allocations: 4 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.8342, allocations: 11.98 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8342, allocations: 0 / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.8342, allocations: 83.28 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8342, allocations: 0 / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002112/0.8344, allocations: 8.031 kB / 1.273 GB, free: 0.6992 MB / 0.9669 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.0006104/0.835, allocations: 0.6973 MB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.8352, allocations: 47.98 kB / 1.273 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8352, allocations: 0 / 1.273 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.8353, allocations: 23.92 kB / 1.273 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.8357, allocations: 7.938 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.8361, allocations: 141.8 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.8364, allocations: 0.6769 MB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.8365, allocations: 8 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.8365, allocations: 7.438 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8365, allocations: 0 / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.8597, allocations: 1.462 MB / 1.276 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.951, allocations: 11.14 kB / 1.276 GB, free: 13.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.978048911783844]