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.563/2.563, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001253/0.001253, allocations: 183.1 kB / 492.3 MB, free: 0.6211 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.593/1.593, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009885/0.0009883, allocations: 106 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.638e-05/4.668e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.369, allocations: 153.3 MB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.369, allocations: 75.23 kB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03021/1.4, allocations: 11.13 MB / 1.373 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.356e-06/1.4, allocations: 3.875 kB / 1.373 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.429e-05/1.4, allocations: 7.906 kB / 1.373 GB, free: 34.03 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.001167/1.401, allocations: 0.5226 MB / 1.374 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/1.401, allocations: 11.5 kB / 1.374 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/1.401, allocations: 37.33 kB / 1.374 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.401, allocations: 34.97 kB / 1.374 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/1.402, allocations: 402.5 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.402, allocations: 7.625 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/1.402, allocations: 6.906 kB / 1.374 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/1.402, allocations: 110.5 kB / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.402, allocations: 0 / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/1.402, allocations: 3.875 kB / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.403, allocations: 3.844 kB / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/1.403, allocations: 62.23 kB / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/1.404, allocations: 0.5116 MB / 1.375 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/1.404, allocations: 142.5 kB / 1.375 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/1.404, allocations: 44.72 kB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.404, allocations: 0 / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/1.404, allocations: 112.6 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/1.404, allocations: 0 / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004507/1.405, allocations: 183 kB / 1.375 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.405, allocations: 55.34 kB / 1.375 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/1.405, allocations: 478 kB / 1.376 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.405, allocations: 25.7 kB / 1.376 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.406, allocations: 168.7 kB / 1.376 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/1.406, allocations: 40.64 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/1.406, allocations: 8.969 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/1.406, allocations: 344.2 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.406, allocations: 116 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/1.406, allocations: 148.1 kB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/1.406, allocations: 122 kB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.406, allocations: 0 / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005123/1.407, allocations: 351.4 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.407, allocations: 10.61 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.407, allocations: 3.953 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.407, allocations: 7.719 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/1.407, allocations: 60.11 kB / 1.377 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.407, allocations: 0 / 1.377 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/1.407, allocations: 21.83 kB / 1.377 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/1.407, allocations: 18.3 kB / 1.377 GB, free: 32.07 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 0.0001027/1.408, allocations: 121.1 kB / 1.377 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/1.408, allocations: 31 kB / 1.377 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/1.408, allocations: 205.3 kB / 1.377 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.408, allocations: 11.77 kB / 1.378 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.408, allocations: 0 / 1.378 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.408, allocations: 0 / 1.378 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/1.408, allocations: 305.5 kB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.408, allocations: 0 / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/1.408, allocations: 13.62 kB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.408, allocations: 6.312 kB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.408, allocations: 3.562 kB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.408, allocations: 0 / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.408, allocations: 7.609 kB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/1.409, allocations: 218.1 kB / 1.378 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/1.409, allocations: 124.4 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/1.409, allocations: 10.19 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.409, allocations: 6.547 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/1.409, allocations: 21.08 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/1.409, allocations: 7.25 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003142/1.409, allocations: 315.1 kB / 1.378 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.409, allocations: 4 kB / 1.378 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003226/1.41, allocations: 70.81 kB / 1.379 GB, free: 31.38 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.001302/1.411, allocations: 1.033 MB / 1.38 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003359/1.411, allocations: 186.5 kB / 1.38 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.411, allocations: 4.125 kB / 1.38 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/1.412, allocations: 66.98 kB / 1.38 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.412, allocations: 98.73 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.413, allocations: 0.5274 MB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/1.414, allocations: 0.7965 MB / 1.381 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001924/1.414, allocations: 51.03 kB / 1.381 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/1.414, allocations: 110.3 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.414, allocations: 4 kB / 1.381 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/1.434, allocations: 7.081 MB / 1.388 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.434, allocations: 191.2 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/3.461, allocations: 3.75 kB / 1.388 GB, free: 26.31 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