Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.246/2.246, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001174/0.001174, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.467/1.467, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009714/0.0009714, allocations: 103.7 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.04e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.362, allocations: 149.8 MB / 1.365 GB, free: 4.199 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.362, allocations: 72.45 kB / 1.365 GB, free: 4.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006394/1.368, allocations: 2.016 MB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.743e-06/1.368, allocations: 0 / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.368, allocations: 0 / 1.367 GB, free: 2.34 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008473/1.369, allocations: 0.4975 MB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.369, allocations: 8.031 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/1.369, allocations: 44.3 kB / 1.368 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/1.369, allocations: 21.73 kB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/1.37, allocations: 219.7 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/1.37, allocations: 7.438 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/1.37, allocations: 8 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/1.37, allocations: 123.6 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.37, allocations: 4 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.37, allocations: 7.312 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.37, allocations: 4 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/1.37, allocations: 110.3 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/1.371, allocations: 0.546 MB / 1.369 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/1.372, allocations: 94.73 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/1.372, allocations: 61.22 kB / 1.369 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.372, allocations: 3.938 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/1.372, allocations: 38.72 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/1.372, allocations: 0 / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0003235/1.372, allocations: 149.7 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/1.372, allocations: 51.41 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.372, allocations: 163.2 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.372, allocations: 28.83 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/1.372, allocations: 120.3 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/1.372, allocations: 31.23 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/1.372, allocations: 4 kB / 1.369 GB, free: 84 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.373, allocations: 325.8 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/1.373, allocations: 46.97 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/1.373, allocations: 42.42 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.488e-05/1.373, allocations: 50.78 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.373, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002236/1.373, allocations: 135.1 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.373, allocations: 9.406 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.373, allocations: 384 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.373, allocations: 11.94 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/1.373, allocations: 55.89 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.373, allocations: 3.984 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.374, allocations: 63.3 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/1.374, allocations: 0 / 1.37 GB, free: 15.42 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.342e-05/1.374, allocations: 113.2 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/1.374, allocations: 11.81 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/1.374, allocations: 19.34 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.374, allocations: 8 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.374, allocations: 3.953 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.374, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/1.374, allocations: 245.8 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.374, allocations: 3.938 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/1.374, allocations: 59.52 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.374, allocations: 3.984 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.374, allocations: 0 / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.374, allocations: 7.938 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.374, allocations: 0 / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/1.375, allocations: 239.9 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/1.375, allocations: 88.95 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/1.375, allocations: 4 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/1.375, allocations: 47.39 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.375, allocations: 11.86 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.375, allocations: 3.984 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001093/1.375, allocations: 138.5 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.375, allocations: 0 / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002522/1.376, allocations: 35.28 kB / 1.371 GB, free: 14.41 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.0006169/1.376, allocations: 0.7695 MB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002294/1.376, allocations: 114.6 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.376, allocations: 4 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.377, allocations: 64.28 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/1.377, allocations: 19.98 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/1.378, allocations: 264.1 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.378, allocations: 0.7271 MB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.953e-05/1.378, allocations: 20.42 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/1.378, allocations: 39.17 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.378, allocations: 4 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/1.394, allocations: 3.037 MB / 1.376 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.394, allocations: 162.5 kB / 1.376 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.994, allocations: 0 / 1.376 GB, free: 9.348 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat