Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001035/0.001035, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.474/1.474, allocations: 221.5 MB / 0.7824 GB, free: 1.051 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.0008838/0.0008841, allocations: 99.83 kB / 0.9219 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.572e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2975, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.305, allocations: 148.3 MB / 1.351 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.305, allocations: 70.94 kB / 1.351 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006901/1.312, allocations: 2.001 MB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.312, allocations: 0 / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.312, allocations: 3.844 kB / 1.353 GB, free: 33.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007707/1.313, allocations: 0.5008 MB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.313, allocations: 8.766 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/1.313, allocations: 15.66 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.313, allocations: 230.7 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.313, allocations: 0.7969 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/1.313, allocations: 7.688 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002131/1.313, allocations: 103.6 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.313, allocations: 124.5 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.314, allocations: 0 / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.314, allocations: 2.172 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.314, allocations: 3.906 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/1.315, allocations: 0.5069 MB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/1.315, allocations: 89.27 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/1.315, allocations: 55.91 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/1.315, allocations: 0 / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/1.315, allocations: 39.09 kB / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/1.315, allocations: 3.938 kB / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000266/1.315, allocations: 132.9 kB / 1.355 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/1.315, allocations: 51.41 kB / 1.355 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.315, allocations: 159.3 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.315, allocations: 25.7 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/1.315, allocations: 120.6 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.315, allocations: 30.06 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/1.315, allocations: 4 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.316, allocations: 329.6 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/1.316, allocations: 43.56 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/1.316, allocations: 42.72 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/1.316, allocations: 48.92 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.316, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001915/1.316, allocations: 135.6 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.316, allocations: 3.875 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.316, allocations: 0.7969 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.316, allocations: 7.812 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/1.316, allocations: 60.44 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.316, allocations: 3.594 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.317, allocations: 47.84 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/1.317, allocations: 6.938 kB / 1.356 GB, free: 32.03 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.562e-05/1.317, allocations: 104.9 kB / 1.356 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002018/1.317, allocations: 143.1 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/1.317, allocations: 16.03 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/1.317, allocations: 23.11 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.317, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/1.317, allocations: 0.7969 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.317, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/1.317, allocations: 223.5 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.317, allocations: 0.7969 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.318, allocations: 63.78 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.318, allocations: 0.6094 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.318, allocations: 0 / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.318, allocations: 0 / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.318, allocations: 0.7031 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/1.318, allocations: 238 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/1.318, allocations: 89.47 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/1.318, allocations: 0.5156 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.318, allocations: 47.88 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/1.318, allocations: 11.89 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.318, allocations: 15.22 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.064e-05/1.318, allocations: 131.8 kB / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.318, allocations: 0 / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000231/1.319, allocations: 27.22 kB / 1.357 GB, free: 31.34 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000528/1.319, allocations: 0.7686 MB / 1.358 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002063/1.319, allocations: 108.9 kB / 1.358 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.319, allocations: 0 / 1.358 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-05/1.319, allocations: 60.98 kB / 1.358 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.0002545/1.32, allocations: 18.73 kB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/1.32, allocations: 262.6 kB / 1.358 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/1.321, allocations: 0.729 MB / 1.359 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000131/1.321, allocations: 22.38 kB / 1.359 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/1.321, allocations: 45.3 kB / 1.359 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.321, allocations: 0 / 1.359 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/1.344, allocations: 2.613 MB / 1.361 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/1.344, allocations: 152.6 kB / 1.361 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/3.066, allocations: 4 kB / 1.361 GB, free: 29.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat