Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_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.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.431/2.431, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 72.3 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001709/0.2328, allocations: 0.6608 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.2336, allocations: 0.8369 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.2337, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.2337, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.2338, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.2339, allocations: 23.97 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.234, allocations: 51.84 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.2341, allocations: 11.98 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.2342, allocations: 19.92 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.2342, allocations: 23.92 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2343, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.2343, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.2343, allocations: 11.97 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.2343, allocations: 19.88 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.784e-05/0.2344, allocations: 43.8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2344, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2344, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2344, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 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.000489/0.2349, allocations: 355.7 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.235, allocations: 16.03 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.235, allocations: 30.75 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.235, allocations: 4.938 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2352, allocations: 164.3 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2352, allocations: 8.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2352, allocations: 384 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2354, allocations: 70.2 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2354, allocations: 7.875 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2354, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2354, allocations: 4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.2356, allocations: 55.88 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.236, allocations: 284.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.2362, allocations: 70.52 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2363, allocations: 32.86 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2364, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2364, allocations: 34.56 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2364, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003833/0.2368, allocations: 113.5 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.2368, allocations: 51.41 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.2369, allocations: 109.8 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2369, allocations: 25.7 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.237, allocations: 84.14 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.237, allocations: 19.81 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.2371, allocations: 17.7 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2372, allocations: 322.8 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/0.2373, allocations: 31.91 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.2374, allocations: 19.98 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2376, allocations: 48.81 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2376, allocations: 256 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002316/0.2378, allocations: 85.64 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2378, allocations: 9.562 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2379, allocations: 8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.2379, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.238, allocations: 11.98 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.238, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.2381, allocations: 11.92 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.2381, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 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 7.571e-05/0.2381, allocations: 117.8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.2382, allocations: 7.906 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.2382, allocations: 11.91 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2382, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2382, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2382, allocations: 3.984 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2384, allocations: 173.5 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2384, allocations: 4 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.2385, allocations: 11.98 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2385, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2385, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2385, allocations: 7.984 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2385, allocations: 3.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2388, allocations: 183.4 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2389, allocations: 85.39 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.2389, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.239, allocations: 11.98 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.239, allocations: 8 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.239, allocations: 3.984 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.2391, allocations: 83.28 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.663e-06/0.2391, allocations: 4 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.2393, allocations: 7.938 kB / 1.068 GB, free: 9.324 MB / 0.8262 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.0005671/0.2399, allocations: 0.7217 MB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.2401, allocations: 59.88 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2401, allocations: 0 / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.2402, allocations: 31.97 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2405, allocations: 4 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.2419, allocations: 1.307 MB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2422, allocations: 0.6846 MB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.2422, allocations: 8 kB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2423, allocations: 15.44 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2423, allocations: 0 / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.152/1.394, allocations: 1.785 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.06, allocations: 17.23 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches