Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.008235/0.008235, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001977/0.001977, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.19 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2695, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002264/0.2719, allocations: 0.6577 MB / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.273, allocations: 0.8354 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.273, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.2731, allocations: 4 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.2732, allocations: 3.938 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2734, allocations: 19.92 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.2735, allocations: 55.83 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2736, allocations: 11.98 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.2737, allocations: 19.92 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.2738, allocations: 23.92 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2738, allocations: 8 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.2739, allocations: 4 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.2739, allocations: 11.97 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.274, allocations: 15.88 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2741, allocations: 51.84 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2741, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2741, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2741, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006452/0.2748, allocations: 346.3 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.2749, allocations: 12.03 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.2749, allocations: 38.75 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.275, allocations: 0.9375 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.2752, allocations: 181 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2752, allocations: 384 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2752, allocations: 4.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.2755, allocations: 66.2 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2755, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2755, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2755, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.2758, allocations: 43.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.2762, allocations: 284.8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2765, allocations: 66.53 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2766, allocations: 28.92 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2766, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2767, allocations: 30.56 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2767, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004291/0.2771, allocations: 113.6 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2772, allocations: 59.34 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.2773, allocations: 109.9 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2773, allocations: 25.7 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2773, allocations: 88.12 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.2774, allocations: 11.81 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.2774, allocations: 21.64 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2775, allocations: 318.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2776, allocations: 23.97 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.2777, allocations: 27.97 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.2779, allocations: 60.75 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2779, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000252/0.2782, allocations: 77.64 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2782, allocations: 8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2782, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2783, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2784, allocations: 15.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2784, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.2785, allocations: 7.984 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2785, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.46e-05/0.2786, allocations: 113.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2786, allocations: 11.91 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.2787, allocations: 3.906 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2787, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2787, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2787, allocations: 7.922 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2789, allocations: 173.6 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2789, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.279, allocations: 12.23 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.279, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.279, allocations: 8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2791, allocations: 3.984 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2791, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.2794, allocations: 183.4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.2794, allocations: 84.95 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2794, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.2795, allocations: 7.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.2796, allocations: 8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2796, allocations: 3.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.2797, allocations: 91.28 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2797, allocations: 3.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002349/0.2799, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006213/0.2806, allocations: 0.7124 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.2808, allocations: 59.94 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2809, allocations: 3.938 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.281, allocations: 32.3 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2813, allocations: 9.969 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2829, allocations: 1.321 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2832, allocations: 0.6807 MB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.2832, allocations: 4 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.2833, allocations: 19.42 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2833, allocations: 4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3002, allocations: 1.84 MB / 1.096 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.949, allocations: 5.484 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intToRea.u,intToRea.y Variables in the result:intToRea.u,intToRea.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt1.u,reaToInt1.y,round2.n,round2.u,round2.y,time