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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001055/0.001055, allocations: 173.1 kB / 498.1 MB, free: 5.695 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.524/1.524, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 94.38 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 9.375 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2575, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4438, allocations: 153.4 MB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4441, allocations: 75.97 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.4746, allocations: 11.15 MB / 1.384 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4746, allocations: 0 / 1.384 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.591e-05/0.4747, allocations: 8 kB / 1.384 GB, free: 13.38 MB / 0.8855 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.001197/0.4759, allocations: 0.6146 MB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4759, allocations: 15.97 kB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.476, allocations: 38.5 kB / 1.384 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4761, allocations: 39.56 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.4769, allocations: 401.2 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.477, allocations: 12 kB / 1.385 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.477, allocations: 8 kB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.4772, allocations: 109.5 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4773, allocations: 0 / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4773, allocations: 4 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4773, allocations: 7.984 kB / 1.385 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.4775, allocations: 68.84 kB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.4784, allocations: 0.5043 MB / 1.385 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.4788, allocations: 150.6 kB / 1.386 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4789, allocations: 0 / 1.386 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.4791, allocations: 119.2 kB / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.4791, allocations: 0 / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005795/0.4797, allocations: 233.1 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4798, allocations: 51.41 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.4804, allocations: 484.6 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4804, allocations: 33.7 kB / 1.386 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4806, allocations: 164.5 kB / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.4806, allocations: 39.53 kB / 1.387 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.4807, allocations: 4 kB / 1.387 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4808, allocations: 350.8 kB / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.4811, allocations: 116.5 kB / 1.387 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4813, allocations: 159.5 kB / 1.387 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.4816, allocations: 129 kB / 1.387 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4816, allocations: 0 / 1.387 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006278/0.4822, allocations: 369 kB / 1.388 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4822, allocations: 7.953 kB / 1.388 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4823, allocations: 4 kB / 1.388 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4823, allocations: 3.938 kB / 1.388 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4825, allocations: 51.91 kB / 1.388 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4825, allocations: 8.062 kB / 1.388 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4827, allocations: 20 kB / 1.388 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.4828, allocations: 19.98 kB / 1.388 GB, free: 8.879 MB / 0.8855 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 () * 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.0001881/0.4829, allocations: 189.5 kB / 1.388 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.483, allocations: 27.62 kB / 1.388 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.4834, allocations: 204.7 kB / 1.388 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4834, allocations: 4 kB / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4835, allocations: 4 kB / 1.388 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4835, allocations: 3.984 kB / 1.388 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.4838, allocations: 313.3 kB / 1.389 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4838, allocations: 0 / 1.389 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.4839, allocations: 23.92 kB / 1.389 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4839, allocations: 0 / 1.389 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4839, allocations: 0 / 1.389 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4839, allocations: 3.953 kB / 1.389 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4839, allocations: 8 kB / 1.389 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.4843, allocations: 227.1 kB / 1.389 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4845, allocations: 116.6 kB / 1.389 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.4845, allocations: 8 kB / 1.389 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4846, allocations: 8 kB / 1.389 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.4847, allocations: 23.92 kB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4847, allocations: 4 kB / 1.389 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003893/0.4851, allocations: 323.1 kB / 1.389 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4851, allocations: 4 kB / 1.389 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000349/0.4855, allocations: 71.94 kB / 1.389 GB, free: 7.234 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001691/0.4872, allocations: 1.083 MB / 1.39 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.4876, allocations: 210.5 kB / 1.391 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4876, allocations: 0 / 1.391 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4878, allocations: 63.97 kB / 1.391 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.4882, allocations: 87.61 kB / 1.391 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4898, allocations: 1.21 MB / 1.392 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.4902, allocations: 0.8027 MB / 1.393 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.4904, allocations: 50.94 kB / 1.393 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4906, allocations: 107.4 kB / 1.393 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.4906, allocations: 0 / 1.393 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.5135, allocations: 7.016 MB / 1.4 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.5139, allocations: 226.6 kB / 1.4 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.529, allocations: 0 / 1.4 GB, free: 12.58 MB / 0.9011 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