Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.397/2.397, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001216/0.001216, allocations: 165 kB / 496.1 MB, free: 12.88 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.582/1.582, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.000935/0.0009349, allocations: 87.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.712e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9962/1.317, allocations: 150 MB / 1.365 GB, free: 3.996 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.317, allocations: 64.16 kB / 1.365 GB, free: 3.965 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006787/1.324, allocations: 2.015 MB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/1.324, allocations: 0 / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.792e-05/1.324, allocations: 4 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000759/1.325, allocations: 428 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.325, allocations: 16.02 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/1.325, allocations: 36.5 kB / 1.368 GB, free: 1.676 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/1.325, allocations: 19.95 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/1.325, allocations: 199.1 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.325, allocations: 8.062 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/1.325, allocations: 8 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/1.325, allocations: 116.1 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.325, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/1.325, allocations: 3.562 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.325, allocations: 4 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/1.326, allocations: 86.34 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/1.326, allocations: 424.9 kB / 1.369 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/1.327, allocations: 130.8 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.327, allocations: 52.73 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/1.327, allocations: 3.984 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.327, allocations: 42.69 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.327, allocations: 0 / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0003589/1.328, allocations: 132.5 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.328, allocations: 54.97 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.328, allocations: 135.8 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/1.328, allocations: 25.7 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/1.328, allocations: 104.6 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.328, allocations: 34.47 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.328, allocations: 4 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.328, allocations: 325 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/1.328, allocations: 36.38 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/1.328, allocations: 38.23 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/1.328, allocations: 38.59 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.328, allocations: 3.938 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002229/1.329, allocations: 130.7 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.329, allocations: 4 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.329, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.329, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/1.329, allocations: 47.95 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.329, allocations: 3.953 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/1.329, allocations: 31.53 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/1.329, allocations: 8.359 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.611e-05/1.329, allocations: 112.1 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/1.329, allocations: 15.81 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/1.329, allocations: 12.19 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.329, allocations: 7.938 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.329, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.329, allocations: 7.938 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/1.33, allocations: 226.1 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.33, allocations: 0 / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/1.33, allocations: 47.2 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.33, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/1.33, allocations: 3.984 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.33, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.33, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/1.33, allocations: 234.5 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/1.33, allocations: 88.86 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/1.33, allocations: 11.92 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/1.331, allocations: 27.22 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.331, allocations: 29.66 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/1.331, allocations: 3.984 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.972e-05/1.331, allocations: 116.5 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.994e-06/1.331, allocations: 0 / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002672/1.331, allocations: 31.25 kB / 1.371 GB, free: 14.63 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000717/1.332, allocations: 0.7682 MB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002498/1.332, allocations: 96.09 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.332, allocations: 4 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.332, allocations: 64.84 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/1.333, allocations: 13.09 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/1.333, allocations: 210.3 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.333, allocations: 0.7121 MB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001251/1.334, allocations: 24.42 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.334, allocations: 44.03 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of SimCode: time 6.92e-07/1.334, allocations: 0 / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/1.349, allocations: 3.209 MB / 1.376 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.35, allocations: 162.6 kB / 1.376 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.991, allocations: 2.109 kB / 1.376 GB, free: 9.457 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat