Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.IntegerToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_10_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.005055/0.005055, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.00116/0.00116, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.55/2.55, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.254, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001734/0.2558, allocations: 0.662 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2568, allocations: 0.8432 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.2569, allocations: 4 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.2569, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.257, allocations: 3.938 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2572, allocations: 23.91 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.2573, allocations: 43.92 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2574, allocations: 15.98 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.2575, allocations: 23.91 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.2576, allocations: 19.92 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2576, allocations: 4 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.2576, allocations: 8 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2576, allocations: 7.984 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.2577, allocations: 23.86 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2578, allocations: 48.08 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005247/0.2583, allocations: 355.3 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2584, allocations: 12.03 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.2584, allocations: 30.75 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.2585, allocations: 4.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2586, allocations: 168.3 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2586, allocations: 20.3 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2587, allocations: 384 / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2589, allocations: 66.22 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2589, allocations: 7.875 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2589, allocations: 0 / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2589, allocations: 0 / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.2591, allocations: 47.95 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.2596, allocations: 296.7 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.2598, allocations: 62.53 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2599, allocations: 28.92 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2599, allocations: 0 / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.26, allocations: 42.55 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.26, allocations: 0 / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004295/0.2604, allocations: 109.5 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2604, allocations: 51.41 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.2605, allocations: 105.8 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2606, allocations: 29.7 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2606, allocations: 84.14 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2606, allocations: 15.91 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.2607, allocations: 17.7 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2608, allocations: 318.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2609, allocations: 23.97 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.261, allocations: 24.23 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2612, allocations: 56.75 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.2612, allocations: 4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002484/0.2615, allocations: 85.64 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2615, allocations: 6.031 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2615, allocations: 0 / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2615, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2617, allocations: 11.98 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2617, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.2618, allocations: 16.27 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2618, allocations: 0 / 1.17 GB, free: 3.25 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 (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.618e-05/0.2619, allocations: 121.7 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.2619, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.2619, allocations: 15.88 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2619, allocations: 4 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.262, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.262, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2621, allocations: 173.5 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2622, allocations: 4 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.2623, allocations: 15.98 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2623, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2623, allocations: 3.984 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2623, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2623, allocations: 3.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.2626, allocations: 187.4 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.2626, allocations: 85.05 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2627, allocations: 0 / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.2628, allocations: 7.984 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2628, allocations: 11.98 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2628, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.2629, allocations: 83.28 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2629, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00023/0.2631, allocations: 11.94 kB / 1.171 GB, free: 2.434 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 (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.0005562/0.2637, allocations: 0.7241 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.2639, allocations: 51.95 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.264, allocations: 4 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2641, allocations: 35.91 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2644, allocations: 4 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2659, allocations: 1.304 MB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2661, allocations: 0.6884 MB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.2662, allocations: 4 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.2662, allocations: 23.42 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2663, allocations: 0 / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2842, allocations: 1.823 MB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.681, allocations: 11.83 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches