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.0009658/0.0009658, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001191/0.001191, allocations: 168.7 kB / 15.95 MB, free: 204 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.391 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.409/2.409, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7409, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002639/0.7436, allocations: 1.649 MB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.7455, allocations: 1.108 MB / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.7456, allocations: 6.469 kB / 0.9566 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.7461, allocations: 142.6 kB / 0.9567 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.7464, allocations: 130.7 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.747, allocations: 184.2 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.7474, allocations: 267.1 kB / 0.9573 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.7476, allocations: 46.5 kB / 0.9573 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.7478, allocations: 120 kB / 0.9574 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.748, allocations: 126.9 kB / 0.9575 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.7481, allocations: 5.438 kB / 0.9575 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.7482, allocations: 41.77 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.7484, allocations: 85.78 kB / 0.9577 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.7484, allocations: 66.58 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.7488, allocations: 285.9 kB / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7488, allocations: 0 / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7489, allocations: 0 / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.7489, allocations: 5.469 kB / 0.958 GB, free: 5.039 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.000947/0.7498, allocations: 0.5742 MB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.7499, allocations: 8.688 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.7499, allocations: 42.39 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.75, allocations: 34.5 kB / 0.9587 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.7505, allocations: 354 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.7506, allocations: 4.25 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.7506, allocations: 13.22 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.7509, allocations: 103.8 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7509, allocations: 0 / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.7509, allocations: 9.141 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.7509, allocations: 1.25 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.7511, allocations: 61.22 kB / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.7518, allocations: 0.4923 MB / 0.9597 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.7522, allocations: 136.5 kB / 0.9598 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.7523, allocations: 50.83 kB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.7523, allocations: 6.688 kB / 0.9598 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.7526, allocations: 107 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.7526, allocations: 1.375 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005483/0.7531, allocations: 219.5 kB / 0.9602 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.7532, allocations: 56.77 kB / 0.9602 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.7539, allocations: 0.5119 MB / 0.9607 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.7539, allocations: 31.23 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.7541, allocations: 161.5 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.7541, allocations: 38.08 kB / 0.9609 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.7541, allocations: 5 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7542, allocations: 349 kB / 0.9613 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.7545, allocations: 95.7 kB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.7547, allocations: 134.8 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.7549, allocations: 115.1 kB / 0.9616 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.7549, allocations: 1.125 kB / 0.9616 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005692/0.7555, allocations: 312.4 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.7555, allocations: 9.484 kB / 0.9619 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.7556, allocations: 1.031 kB / 0.9619 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7556, allocations: 9.734 kB / 0.9619 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.7558, allocations: 59.94 kB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7559, allocations: 2.25 kB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.756, allocations: 18.22 kB / 0.962 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.7561, allocations: 11.98 kB / 0.962 GB, free: 1.953 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.0001911/0.7563, allocations: 187.5 kB / 0.9622 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.7563, allocations: 29.78 kB / 0.9622 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.7564, allocations: 38.03 kB / 0.9622 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7564, allocations: 4.969 kB / 0.9622 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7564, allocations: 1.438 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7564, allocations: 0 / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.7567, allocations: 300.2 kB / 0.9625 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7568, allocations: 3.953 kB / 0.9625 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.7568, allocations: 19.14 kB / 0.9626 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7568, allocations: 0 / 0.9626 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.7569, allocations: 6.594 kB / 0.9626 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7569, allocations: 0 / 0.9626 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.7569, allocations: 1.562 kB / 0.9626 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.7572, allocations: 211.8 kB / 0.9628 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7573, allocations: 118.3 kB / 0.9629 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.7574, allocations: 2.031 kB / 0.9629 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.7575, allocations: 13.42 kB / 0.9629 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.7576, allocations: 14.61 kB / 0.9629 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.7576, allocations: 8.797 kB / 0.9629 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003732/0.758, allocations: 313.2 kB / 0.9632 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.758, allocations: 4 kB / 0.9632 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003207/0.7583, allocations: 59.59 kB / 0.9633 GB, free: 0.9648 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.00147/0.7598, allocations: 1.059 MB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.7602, allocations: 192.4 kB / 0.9645 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7602, allocations: 0 / 0.9645 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.7603, allocations: 64.42 kB / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.7608, allocations: 87.94 kB / 0.9646 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.7647, allocations: 2.069 MB / 0.9667 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.7652, allocations: 0.7848 MB / 0.9674 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.7654, allocations: 47.98 kB / 0.9675 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7656, allocations: 106.5 kB / 0.9676 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of SimCode: time 1.393e-06/0.7657, allocations: 0 / 0.9676 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.7878, allocations: 6.982 MB / 0.9744 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.7881, allocations: 239.9 kB / 0.9746 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.67, allocations: 7.938 kB / 0.9746 GB, free: 10.48 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