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.001498/0.001498, allocations: 108 kB / 15.6 MB, free: 132 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.001807/0.001808, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.368/2.368, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.88 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6652, allocations: 140.3 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00166/0.6669, allocations: 0.6593 MB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.6675, allocations: 0.8403 MB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.6676, allocations: 1.594 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.6676, allocations: 0 / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.6677, allocations: 7.938 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.6678, allocations: 28.34 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.6679, allocations: 38.67 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.668, allocations: 13.77 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.668, allocations: 26.75 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.6681, allocations: 19.14 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.6681, allocations: 4.312 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.6681, allocations: 7.219 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.6682, allocations: 17.42 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.6682, allocations: 15.77 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.99e-05/0.6683, allocations: 40.7 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6683, allocations: 4 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6683, allocations: 0 / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.6683, allocations: 0 / 0.9514 GB, free: 7.785 MB / 0.7169 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.0003696/0.6687, allocations: 346.7 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.6687, allocations: 10.53 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.6687, allocations: 36.31 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.6688, allocations: 10.25 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.6688, allocations: 174.8 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.6689, allocations: 1.875 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.6689, allocations: 2.625 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.6691, allocations: 71.84 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6691, allocations: 4.625 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.6691, allocations: 5.656 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.6691, allocations: 0 / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.6693, allocations: 54.41 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.6696, allocations: 284.4 kB / 0.9524 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.6698, allocations: 65.44 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.6699, allocations: 33.77 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6699, allocations: 1.125 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.67, allocations: 34.56 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.67, allocations: 1.188 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000377/0.6703, allocations: 112.6 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.6704, allocations: 55.41 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.6704, allocations: 106.5 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.6704, allocations: 25.7 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.6705, allocations: 90.08 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.6705, allocations: 14.22 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.6705, allocations: 21.42 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.6706, allocations: 316 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.6707, allocations: 27.56 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.6708, allocations: 21.61 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.671, allocations: 53.84 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.671, allocations: 0 / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002204/0.6712, allocations: 89.14 kB / 0.9534 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6712, allocations: 5.938 kB / 0.9534 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6712, allocations: 4 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6712, allocations: 0 / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.6714, allocations: 12.7 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6714, allocations: 1 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.6715, allocations: 11.69 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6715, allocations: 5.688 kB / 0.9534 GB, free: 5.785 MB / 0.7169 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 4.813e-05/0.6715, allocations: 111.7 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.6716, allocations: 3.344 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.6716, allocations: 15.89 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6716, allocations: 1.5 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6716, allocations: 3.984 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6716, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.6717, allocations: 174.9 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6717, allocations: 1.312 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.6718, allocations: 15.77 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6718, allocations: 1.875 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.6718, allocations: 3.984 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6718, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6718, allocations: 5.906 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.6721, allocations: 178.5 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.6721, allocations: 82.67 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.6721, allocations: 1.188 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.6722, allocations: 8.328 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.6723, allocations: 6.844 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.6723, allocations: 13.45 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.6723, allocations: 84.91 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6723, allocations: 0 / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/0.6726, allocations: 5.625 kB / 0.9541 GB, free: 5.062 MB / 0.7169 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.0004118/0.673, allocations: 0.7207 MB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.6732, allocations: 62.69 kB / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6732, allocations: 0 / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.6734, allocations: 38.38 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.6736, allocations: 2.781 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.6748, allocations: 1.312 MB / 0.9562 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.6749, allocations: 0.6918 MB / 0.9569 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.675, allocations: 7.625 kB / 0.9569 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.675, allocations: 14.75 kB / 0.9569 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.675, allocations: 0 / 0.9569 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.693, allocations: 1.779 MB / 0.9586 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.251, allocations: 13.8 kB / 0.9586 GB, free: 1.359 MB / 0.7169 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) Reference file matches