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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 0.7824 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 95.67 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.408e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2962, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.33, allocations: 152.6 MB / 1.355 GB, free: 17.78 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.33, allocations: 77.06 kB / 1.355 GB, free: 17.78 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02798/1.358, allocations: 11.04 MB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.358, allocations: 0 / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.155e-05/1.358, allocations: 7.906 kB / 1.366 GB, free: 32.89 MB / 0.8386 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.0007977/1.359, allocations: 0.5293 MB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.359, allocations: 7.688 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/1.359, allocations: 33.91 kB / 1.367 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/1.36, allocations: 403.7 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.36, allocations: 3.812 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/1.36, allocations: 7.812 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/1.36, allocations: 56.27 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/1.36, allocations: 112.1 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.36, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.36, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.36, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/1.361, allocations: 498.6 kB / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.361, allocations: 118.2 kB / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/1.361, allocations: 49.34 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.361, allocations: 0 / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/1.362, allocations: 102.8 kB / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/1.362, allocations: 0 / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003223/1.362, allocations: 175.5 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.362, allocations: 55.41 kB / 1.368 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/1.362, allocations: 453.5 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.362, allocations: 33.55 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.363, allocations: 167.8 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/1.363, allocations: 37.11 kB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/1.363, allocations: 3.938 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.363, allocations: 348.8 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.363, allocations: 107.5 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/1.363, allocations: 142.7 kB / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/1.363, allocations: 137.2 kB / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.363, allocations: 0 / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005152/1.364, allocations: 356.9 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.364, allocations: 3.375 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.364, allocations: 0 / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.364, allocations: 3.844 kB / 1.37 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.364, allocations: 54.72 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.364, allocations: 11.98 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/1.364, allocations: 18.86 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/1.364, allocations: 11.81 kB / 1.37 GB, free: 31 MB / 0.8386 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.u1,product.u2,product.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 () * 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 9.588e-05/1.365, allocations: 119.5 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002072/1.365, allocations: 164.8 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/1.365, allocations: 34.88 kB / 1.37 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/1.365, allocations: 190.8 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.365, allocations: 7.844 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.365, allocations: 0 / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.365, allocations: 2.766 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/1.365, allocations: 278.6 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.365, allocations: 0 / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/1.365, allocations: 18.55 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.365, allocations: 0 / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.365, allocations: 2.672 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.365, allocations: 3.781 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.366, allocations: 3.953 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.366, allocations: 217.2 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/1.366, allocations: 118.4 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/1.366, allocations: 3.562 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.366, allocations: 6.734 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/1.366, allocations: 19.52 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.366, allocations: 7.797 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003012/1.366, allocations: 304 kB / 1.371 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.366, allocations: 4 kB / 1.371 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000308/1.367, allocations: 72.59 kB / 1.371 GB, free: 30.3 MB / 0.8386 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.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001258/1.368, allocations: 1 MB / 1.372 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002548/1.368, allocations: 178.4 kB / 1.372 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.368, allocations: 0 / 1.372 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/1.368, allocations: 68.05 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/1.369, allocations: 85.39 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/1.37, allocations: 0.5033 MB / 1.373 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.37, allocations: 0.7977 MB / 1.374 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001809/1.37, allocations: 64.42 kB / 1.374 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.37, allocations: 107.7 kB / 1.374 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.37, allocations: 0 / 1.374 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/1.4, allocations: 6.497 MB / 1.38 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/1.4, allocations: 171.3 kB / 1.381 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.559, allocations: 2.953 kB / 1.381 GB, free: 26.71 MB / 0.8386 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