Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004265/0.004265, allocations: 95.39 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 199 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2338, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001409/0.2352, allocations: 0.6172 MB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.236, allocations: 0.8316 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.2361, allocations: 3.938 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2361, allocations: 3.938 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.2361, allocations: 0 / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.2363, allocations: 19.91 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.2363, allocations: 27.98 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.2364, allocations: 8 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.2365, allocations: 11.98 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.2365, allocations: 7.938 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2365, allocations: 7.938 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-06/0.2365, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2365, allocations: 11.97 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.2366, allocations: 11.94 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.2366, allocations: 19.91 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2367, allocations: 3.984 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2367, allocations: 7.938 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.2367, allocations: 0 / 1.168 GB, free: 5.711 MB / 0.92 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.0003918/0.2371, allocations: 343.7 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2371, allocations: 8.031 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2371, allocations: 30.75 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.2372, allocations: 4.938 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2373, allocations: 164.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2373, allocations: 4.375 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.2373, allocations: 4.375 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2375, allocations: 58.22 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2375, allocations: 3.938 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.2375, allocations: 3.938 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.2375, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2377, allocations: 35.95 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.2379, allocations: 245 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2381, allocations: 46.48 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.2382, allocations: 20.91 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2382, allocations: 3.984 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.2382, allocations: 34.5 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.2382, allocations: 4 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003176/0.2385, allocations: 89.62 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2386, allocations: 55.41 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.2387, allocations: 93.86 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2387, allocations: 25.7 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.2387, allocations: 92.12 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.2387, allocations: 4.078 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.2388, allocations: 13.72 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2389, allocations: 318.8 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.239, allocations: 15.97 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.2391, allocations: 27.86 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2392, allocations: 40.89 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2392, allocations: 3.938 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.2394, allocations: 69.66 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2394, allocations: 7.984 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.2394, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.2395, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.2395, allocations: 8 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2395, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.2396, allocations: 15.97 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2396, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 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 7.248e-05/0.2397, allocations: 113.8 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2397, allocations: 3.938 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.2397, allocations: 15.05 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2397, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2398, allocations: 4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2398, allocations: 192 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2399, allocations: 161.6 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2399, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.24, allocations: 7.984 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.24, allocations: 3.984 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.24, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.24, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.24, allocations: 3.984 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.2403, allocations: 167.5 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2403, allocations: 77.11 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.2403, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.2404, allocations: 7.984 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.2404, allocations: 8 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2404, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.2405, allocations: 87.2 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2405, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001903/0.2407, allocations: 4.031 kB / 1.17 GB, free: 2.863 MB / 0.92 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.0004905/0.2412, allocations: 0.7045 MB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2414, allocations: 47.98 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2414, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.2415, allocations: 27.86 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.2417, allocations: 7.984 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.242, allocations: 127.1 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2423, allocations: 0.6769 MB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.2423, allocations: 8 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.2424, allocations: 11.44 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2424, allocations: 0 / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.617/5.859, allocations: 1.451 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/18.08, allocations: 10.39 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches