Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001956/0.001956, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.533/1.533, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 65.92 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4088, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002249/0.4111, allocations: 0.6609 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4121, allocations: 0.839 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.4122, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.4122, allocations: 7.938 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.4124, allocations: 3.938 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.4125, allocations: 19.97 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.4127, allocations: 39.92 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.4128, allocations: 19.97 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.4129, allocations: 23.92 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.413, allocations: 23.86 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.413, allocations: 4 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.4131, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.4131, allocations: 15.98 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.4132, allocations: 23.84 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4133, allocations: 35.88 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4133, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4133, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4133, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 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.0007344/0.4141, allocations: 351.4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4141, allocations: 12.03 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.4142, allocations: 8.875 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4144, allocations: 168.3 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.4144, allocations: 4.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4144, allocations: 8.312 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.4146, allocations: 74.12 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4147, allocations: 192 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4147, allocations: 3.938 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4147, allocations: 8 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.4149, allocations: 47.94 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.4154, allocations: 284.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4156, allocations: 70.47 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.4157, allocations: 28.92 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4157, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4158, allocations: 38.56 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4158, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003938/0.4162, allocations: 105.5 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4162, allocations: 63.34 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.4163, allocations: 105.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4164, allocations: 29.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.4164, allocations: 80.14 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4165, allocations: 15.81 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.4165, allocations: 17.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4166, allocations: 314.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.4167, allocations: 27.97 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.4168, allocations: 19.98 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.417, allocations: 61.02 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.417, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002203/0.4172, allocations: 85.64 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4173, allocations: 7.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4173, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4173, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4174, allocations: 11.98 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4174, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.4175, allocations: 7.984 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4175, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 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 9.313e-05/0.4176, allocations: 117.7 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.4176, allocations: 11.84 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.4177, allocations: 11.91 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4177, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4177, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4177, allocations: 3.984 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.4179, allocations: 177.7 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4179, allocations: 4.188 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.418, allocations: 15.98 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.418, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.418, allocations: 3.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.418, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.418, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4183, allocations: 183.4 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.4184, allocations: 84.95 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4184, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.4185, allocations: 7.984 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.4186, allocations: 8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4186, allocations: 11.98 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.4186, allocations: 83.28 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4186, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002178/0.4189, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 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.0001215/0.419, allocations: 103.2 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.4192, allocations: 55.88 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4193, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4194, allocations: 31.97 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.4197, allocations: 11.94 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.4201, allocations: 129.5 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4204, allocations: 0.6807 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.4204, allocations: 8 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.4205, allocations: 11.44 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4205, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of Templates: time 0.00337/0.4238, allocations: 0.88 MB / 1.033 GB, free: 11.25 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches