Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.33/2.33, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001316/0.001315, allocations: 188.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.001002/0.001002, allocations: 91.95 kB / 0.9318 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.824e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.305, allocations: 154.1 MB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.305, allocations: 80.41 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02951/1.335, allocations: 11.12 MB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.422e-06/1.335, allocations: 0 / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.75e-05/1.335, allocations: 8 kB / 1.38 GB, free: 6.551 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.0007764/1.336, allocations: 0.5315 MB / 1.381 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.336, allocations: 12.03 kB / 1.381 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/1.336, allocations: 33.5 kB / 1.381 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/1.336, allocations: 39.56 kB / 1.381 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/1.337, allocations: 401.6 kB / 1.381 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/1.337, allocations: 11.42 kB / 1.381 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.337, allocations: 7.938 kB / 1.381 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/1.337, allocations: 111 kB / 1.381 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.337, allocations: 0 / 1.381 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.337, allocations: 2.812 kB / 1.381 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.337, allocations: 4 kB / 1.381 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/1.337, allocations: 62.92 kB / 1.381 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/1.338, allocations: 0.5086 MB / 1.382 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/1.338, allocations: 127.5 kB / 1.382 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/1.338, allocations: 55.84 kB / 1.382 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/1.338, allocations: 3.953 kB / 1.382 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/1.339, allocations: 111.2 kB / 1.382 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.339, allocations: 0 / 1.382 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003493/1.339, allocations: 182.5 kB / 1.382 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.339, allocations: 51.41 kB / 1.382 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/1.34, allocations: 472.7 kB / 1.383 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/1.34, allocations: 37.11 kB / 1.383 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/1.34, allocations: 170.9 kB / 1.383 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.34, allocations: 42.23 kB / 1.383 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/1.34, allocations: 6.375 kB / 1.383 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.34, allocations: 348.5 kB / 1.383 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.34, allocations: 115 kB / 1.384 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/1.34, allocations: 146.2 kB / 1.384 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/1.34, allocations: 123.8 kB / 1.384 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/1.34, allocations: 4 kB / 1.384 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004758/1.341, allocations: 348.1 kB / 1.384 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.341, allocations: 7.953 kB / 1.384 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.341, allocations: 4 kB / 1.384 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.341, allocations: 0 / 1.384 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.341, allocations: 55.72 kB / 1.384 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.341, allocations: 4.062 kB / 1.384 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/1.341, allocations: 23.7 kB / 1.384 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/1.341, allocations: 18.86 kB / 1.384 GB, free: 2.879 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.822e-05/1.342, allocations: 122.5 kB / 1.384 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/1.342, allocations: 27.62 kB / 1.384 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/1.342, allocations: 201.9 kB / 1.385 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.342, allocations: 0 / 1.385 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.342, allocations: 8 kB / 1.385 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.342, allocations: 3.938 kB / 1.385 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.342, allocations: 313.4 kB / 1.385 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.342, allocations: 0 / 1.385 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/1.342, allocations: 15.98 kB / 1.385 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.342, allocations: 4 kB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.342, allocations: 3.812 kB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.342, allocations: 3.953 kB / 1.385 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.342, allocations: 4 kB / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/1.343, allocations: 215.4 kB / 1.385 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.343, allocations: 119.8 kB / 1.385 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/1.343, allocations: 6.875 kB / 1.385 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/1.343, allocations: 11.31 kB / 1.385 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/1.343, allocations: 27.28 kB / 1.385 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.343, allocations: 7.984 kB / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003351/1.343, allocations: 312.8 kB / 1.386 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.343, allocations: 0 / 1.386 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003015/1.344, allocations: 74.98 kB / 1.386 GB, free: 1.543 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.00134/1.345, allocations: 1.042 MB / 1.387 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003119/1.345, allocations: 191.7 kB / 1.387 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.345, allocations: 4.125 kB / 1.387 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.346, allocations: 71.23 kB / 1.387 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.346, allocations: 77.22 kB / 1.387 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/1.347, allocations: 0.5165 MB / 1.388 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.347, allocations: 0.7975 MB / 1.388 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001615/1.347, allocations: 54.92 kB / 1.388 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.348, allocations: 116.3 kB / 1.389 GB, free: 15 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.348, allocations: 0 / 1.389 GB, free: 15 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.367, allocations: 7.075 MB / 1.395 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.368, allocations: 205 kB / 1.396 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.481, allocations: 0 / 1.396 GB, free: 7.867 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat