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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_9_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_9_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.005514/0.005514, allocations: 97.97 kB / 15.88 MB, free: 6.316 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.001228/0.001228, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6512, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001773/0.653, allocations: 0.7228 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.6537, allocations: 0.8322 MB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.6537, allocations: 1.375 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.6538, allocations: 7.938 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.6539, allocations: 0 / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.654, allocations: 21.42 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.6541, allocations: 36.42 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.6542, allocations: 18.84 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.6542, allocations: 18.8 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.6543, allocations: 21.36 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.6543, allocations: 6.75 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.6543, allocations: 2.75 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.6543, allocations: 13.34 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.6544, allocations: 16.06 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.993e-05/0.6544, allocations: 29.44 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6544, allocations: 1.375 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6545, allocations: 3.938 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6545, allocations: 0 / 0.9513 GB, free: 7.844 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.0004024/0.6549, allocations: 347.3 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6549, allocations: 13.62 kB / 0.9516 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.6549, allocations: 6.219 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.655, allocations: 175.1 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.6551, allocations: 1.75 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.6551, allocations: 3.125 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.6553, allocations: 68.03 kB / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.6553, allocations: 192 / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6553, allocations: 5.312 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6553, allocations: 0 / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.6555, allocations: 59.19 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.6559, allocations: 280.4 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.6561, allocations: 72.39 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.6562, allocations: 40.39 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.6562, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.6562, allocations: 31.88 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.6562, allocations: 0 / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.6566, allocations: 104.3 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.6566, allocations: 56.81 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.6567, allocations: 114.2 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.6567, allocations: 25.7 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.6567, allocations: 85.3 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.6568, allocations: 14.38 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.6568, allocations: 16.8 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.6568, allocations: 316.2 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.6569, allocations: 28.31 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.657, allocations: 24.69 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6572, allocations: 54.58 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6572, allocations: 0 / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000213/0.6574, allocations: 85.7 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.6575, allocations: 5.25 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6575, allocations: 7.938 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.6575, allocations: 3.938 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6576, allocations: 13.08 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6576, allocations: 1.562 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.6577, allocations: 7.047 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.6577, allocations: 1.562 kB / 0.9533 GB, free: 5.895 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.053e-05/0.6578, allocations: 116.2 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6578, allocations: 5.266 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.6578, allocations: 13.25 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6578, allocations: 5.562 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6578, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6578, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.658, allocations: 175.9 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.658, allocations: 0 / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/0.6581, allocations: 13.05 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6581, allocations: 0 / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6581, allocations: 1 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6581, allocations: 0 / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6581, allocations: 0.9375 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.6583, allocations: 192.6 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.6584, allocations: 78.92 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6584, allocations: 48 / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.6585, allocations: 15.5 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.6585, allocations: 7.391 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.6585, allocations: 5.531 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.6586, allocations: 89.17 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6586, allocations: 0 / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002124/0.6588, allocations: 6.219 kB / 0.954 GB, free: 5.168 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 7.906e-05/0.6589, allocations: 103.6 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.6591, allocations: 54.27 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6591, allocations: 6.062 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.6592, allocations: 28.41 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.6595, allocations: 11.88 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.6598, allocations: 169 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.6599, allocations: 0.6808 MB / 0.955 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.66, allocations: 17.7 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.66, allocations: 1.156 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.00183/0.6618, allocations: 0.7804 MB / 0.9558 GB, free: 3.746 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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