Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.776, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001017/0.7771, allocations: 381.2 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.7773, allocations: 10.52 kB / 0.9543 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.7773, allocations: 4.969 kB / 0.9543 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.7774, allocations: 0 / 0.9543 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.7775, allocations: 1.125 kB / 0.9543 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.503e-05/0.7776, allocations: 7.281 kB / 0.9543 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.7777, allocations: 35.5 kB / 0.9543 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7778, allocations: 30.56 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.7779, allocations: 6.312 kB / 0.9543 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.7779, allocations: 9.125 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.7779, allocations: 1.438 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.7779, allocations: 1.344 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.778, allocations: 7.391 kB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.778, allocations: 38.48 kB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.7781, allocations: 26.84 kB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7781, allocations: 1.438 kB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7781, allocations: 0 / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7781, allocations: 0 / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002801/0.7784, allocations: 340.8 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.7784, allocations: 9.094 kB / 0.9548 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.7785, allocations: 40.02 kB / 0.9548 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.7785, allocations: 10.58 kB / 0.9548 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7787, allocations: 186.9 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7787, allocations: 5.312 kB / 0.955 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.7787, allocations: 4.281 kB / 0.955 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.7789, allocations: 74.39 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7789, allocations: 0 / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.7789, allocations: 1.312 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.779, allocations: 1.469 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.779, allocations: 51.08 kB / 0.9551 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.7795, allocations: 492.3 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.7795, allocations: 170.3 kB / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.7796, allocations: 85.52 kB / 0.9558 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.7796, allocations: 83.2 kB / 0.9559 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7796, allocations: 111.3 kB / 0.956 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.7796, allocations: 4.109 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.625e-05/0.7797, allocations: 31.89 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.7797, allocations: 132.1 kB / 0.9562 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.7799, allocations: 168.3 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.7799, allocations: 25.7 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.78, allocations: 99.88 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.78, allocations: 0 / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.78, allocations: 1.406 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.78, allocations: 320.2 kB / 0.9568 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.7801, allocations: 8.016 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.7801, allocations: 12.5 kB / 0.9568 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.7801, allocations: 12.88 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7801, allocations: 0 / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.7803, allocations: 52 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7803, allocations: 5.688 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7803, allocations: 1.188 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7803, allocations: 0 / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.7804, allocations: 11.33 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7804, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.7804, allocations: 4.438 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.7804, allocations: 1.219 kB / 0.9569 GB, free: 5.223 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.281e-05/0.7805, allocations: 198.5 kB / 0.9571 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.7806, allocations: 113 kB / 0.9572 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.7806, allocations: 111.4 kB / 0.9573 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.7806, allocations: 185.4 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/0.7807, allocations: 185.4 kB / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.7807, allocations: 177.4 kB / 0.9578 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.7809, allocations: 425.7 kB / 0.9582 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.7809, allocations: 105.8 kB / 0.9583 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.7809, allocations: 106.4 kB / 0.9584 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/0.7809, allocations: 184.2 kB / 0.9586 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.781, allocations: 177.8 kB / 0.9587 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-05/0.781, allocations: 182.6 kB / 0.9589 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.948e-05/0.7811, allocations: 177.4 kB / 0.9591 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.7811, allocations: 317.1 kB / 0.9594 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.7812, allocations: 190.3 kB / 0.9596 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.7812, allocations: 181.7 kB / 0.9597 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.7813, allocations: 106.4 kB / 0.9598 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.7814, allocations: 185.4 kB / 0.96 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.7814, allocations: 106.3 kB / 0.9601 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.015e-05/0.7815, allocations: 132.8 kB / 0.9602 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7815, allocations: 0 / 0.9602 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000228/0.7817, allocations: 5.25 kB / 0.9603 GB, free: 1.602 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003319/0.7821, allocations: 0.8215 MB / 0.9611 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.7821, allocations: 13.58 kB / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7821, allocations: 0 / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.7822, allocations: 0 / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.7825, allocations: 0.5243 MB / 0.9616 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.7833, allocations: 0.5916 MB / 0.9622 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.7836, allocations: 0.6958 MB / 0.9628 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.7837, allocations: 9.203 kB / 0.9628 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.7837, allocations: 17.47 kB / 0.9629 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7837, allocations: 0.7188 kB / 0.9629 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.7973, allocations: 1.393 MB / 0.9642 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.7977, allocations: 196.7 kB / 0.9644 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.522, allocations: 112 / 0.9644 GB, free: 14.14 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat does not exist to compare? outputFormat=mat