Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.001101/0.001101, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001313/0.001313, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7471, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002292/0.7494, allocations: 1.635 MB / 0.9552 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.7512, allocations: 1.1 MB / 0.9563 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.7514, allocations: 5.156 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.7519, allocations: 142.1 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.7522, allocations: 131.3 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.7528, allocations: 178.5 kB / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.7532, allocations: 190.2 kB / 0.9569 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7533, allocations: 45.86 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.7536, allocations: 131.4 kB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.7538, allocations: 110.2 kB / 0.9572 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.7538, allocations: 4.625 kB / 0.9572 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.754, allocations: 34.69 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.7541, allocations: 84.47 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.7541, allocations: 71.64 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.7544, allocations: 282.7 kB / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.7544, allocations: 0 / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7545, allocations: 0 / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7545, allocations: 0 / 0.9576 GB, free: 5.09 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009066/0.7554, allocations: 0.5766 MB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7554, allocations: 8.25 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.7555, allocations: 45.31 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.7556, allocations: 35.47 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.7561, allocations: 351 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.7561, allocations: 7.406 kB / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.7562, allocations: 6.188 kB / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.7564, allocations: 107.8 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7564, allocations: 0 / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.7565, allocations: 5.266 kB / 0.9587 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7565, allocations: 1.312 kB / 0.9587 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.7566, allocations: 71.42 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.7575, allocations: 496.2 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.7578, allocations: 147.6 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.7578, allocations: 3.562 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.7581, allocations: 110.6 kB / 0.9595 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.454e-06/0.7581, allocations: 3.984 kB / 0.9595 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005414/0.7586, allocations: 217.8 kB / 0.9597 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7587, allocations: 60.72 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.7592, allocations: 0.508 MB / 0.9603 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7593, allocations: 31.7 kB / 0.9603 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.7594, allocations: 165.7 kB / 0.9605 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.7594, allocations: 37.8 kB / 0.9605 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.7594, allocations: 5.438 kB / 0.9605 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.7595, allocations: 349.5 kB / 0.9608 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.7597, allocations: 95.3 kB / 0.9609 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.7599, allocations: 133.7 kB / 0.9611 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.7602, allocations: 102.7 kB / 0.9612 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7602, allocations: 4.984 kB / 0.9612 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005201/0.7607, allocations: 321.7 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.7607, allocations: 5.406 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7607, allocations: 5.031 kB / 0.9615 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7607, allocations: 2.062 kB / 0.9615 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.761, allocations: 55.06 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.761, allocations: 6.266 kB / 0.9615 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.7612, allocations: 22.67 kB / 0.9616 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.7612, allocations: 7.312 kB / 0.9616 GB, free: 2.023 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.7614, allocations: 180.2 kB / 0.9617 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.7615, allocations: 37.53 kB / 0.9618 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.7615, allocations: 41.56 kB / 0.9618 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7615, allocations: 2.188 kB / 0.9618 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7616, allocations: 0 / 0.9618 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7616, allocations: 3.938 kB / 0.9618 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.7618, allocations: 296.4 kB / 0.9621 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7618, allocations: 1.031 kB / 0.9621 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.7619, allocations: 13.95 kB / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7619, allocations: 0.9688 kB / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.7619, allocations: 6.359 kB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7619, allocations: 1.25 kB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.762, allocations: 4 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.7623, allocations: 208.8 kB / 0.9623 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.7625, allocations: 118.5 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.7625, allocations: 9.094 kB / 0.9625 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7626, allocations: 5.094 kB / 0.9625 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.7627, allocations: 23.5 kB / 0.9625 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.7627, allocations: 8.844 kB / 0.9625 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003242/0.763, allocations: 312.5 kB / 0.9628 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7631, allocations: 0 / 0.9628 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003355/0.7634, allocations: 64.45 kB / 0.9629 GB, free: 1.035 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: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.7648, allocations: 1.063 MB / 0.9639 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7653, allocations: 188.5 kB / 0.9641 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7653, allocations: 0 / 0.9641 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7654, allocations: 64.86 kB / 0.9641 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.7658, allocations: 84.05 kB / 0.9642 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.7674, allocations: 1.164 MB / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.7678, allocations: 0.7987 MB / 0.9661 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000173/0.768, allocations: 55.31 kB / 0.9662 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.7682, allocations: 102 kB / 0.9663 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7682, allocations: 1.344 kB / 0.9663 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.7899, allocations: 6.79 MB / 0.9729 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.7902, allocations: 228.1 kB / 0.9731 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.702, allocations: 0 / 0.9731 GB, free: 10.85 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat