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.001474/0.001474, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001715/0.001715, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.361/2.361, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6821, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002114/0.6842, allocations: 0.7169 MB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.6852, allocations: 0.8317 MB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.6852, allocations: 1.656 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.6853, allocations: 7.922 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.6853, allocations: 0 / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.6855, allocations: 33 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.6856, allocations: 34.2 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6857, allocations: 13.02 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.6858, allocations: 26.8 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.6858, allocations: 22.66 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.6859, allocations: 4.219 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.6859, allocations: 4.094 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.6859, allocations: 17.39 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.6859, allocations: 16.84 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.058e-05/0.686, allocations: 46.44 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.686, allocations: 1.031 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.686, allocations: 0 / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.686, allocations: 0 / 0.951 GB, free: 7.676 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.0004374/0.6865, allocations: 347.7 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6865, allocations: 9.5 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.6866, allocations: 39.97 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.6866, allocations: 6.25 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.6867, allocations: 171.8 kB / 0.9515 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.6867, allocations: 5.5 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.6867, allocations: 6.266 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.6869, allocations: 72.86 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.687, allocations: 3.938 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.687, allocations: 4 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.687, allocations: 1.156 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.6872, allocations: 50.52 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.6875, allocations: 286.8 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.6877, allocations: 67.75 kB / 0.952 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.6879, allocations: 30.77 kB / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.6879, allocations: 4 kB / 0.952 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.6879, allocations: 31.69 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6879, allocations: 0 / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003946/0.6883, allocations: 109.3 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.6883, allocations: 56.53 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.6884, allocations: 109.7 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.6884, allocations: 25.7 kB / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.6885, allocations: 89.61 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.6885, allocations: 10.25 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.6885, allocations: 21.17 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.6886, allocations: 316.1 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6887, allocations: 24.41 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.6888, allocations: 24.86 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.6889, allocations: 54 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.689, allocations: 1.469 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002161/0.6892, allocations: 88.3 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6892, allocations: 5.406 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6892, allocations: 256 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6892, allocations: 1.344 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6894, allocations: 20.11 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6894, allocations: 0 / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.6894, allocations: 12.11 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.6895, allocations: 1.375 kB / 0.953 GB, free: 5.68 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 5.439e-05/0.6895, allocations: 116.5 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.6895, allocations: 1.375 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.6896, allocations: 9.281 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6896, allocations: 1.703 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6896, allocations: 4 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6896, allocations: 3.984 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.6897, allocations: 179.1 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6897, allocations: 3.984 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.6898, allocations: 13.61 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6898, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.6899, allocations: 1.375 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6899, allocations: 3.984 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6899, allocations: 0 / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.6901, allocations: 192.7 kB / 0.9535 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.6901, allocations: 78.17 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.6902, allocations: 1.188 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.6903, allocations: 7.266 kB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.6903, allocations: 7.312 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.6904, allocations: 6.297 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.6904, allocations: 88.25 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6904, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002289/0.6906, allocations: 6.781 kB / 0.9537 GB, free: 4.953 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.0004243/0.6911, allocations: 0.7151 MB / 0.9544 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.6913, allocations: 67.09 kB / 0.9544 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.6913, allocations: 0 / 0.9544 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6914, allocations: 33.88 kB / 0.9545 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6918, allocations: 9.578 kB / 0.9545 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.693, allocations: 1.318 MB / 0.9558 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.6931, allocations: 0.6881 MB / 0.9564 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.6932, allocations: 4.062 kB / 0.9564 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.6933, allocations: 18.78 kB / 0.9565 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6933, allocations: 0 / 0.9565 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.718, allocations: 1.629 MB / 0.9581 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.7182, allocations: 224.6 kB / 0.9583 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.486, allocations: 0 / 0.9583 GB, free: 1.145 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