Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.39/2.39, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001258/0.001259, allocations: 180.9 kB / 487.4 MB, free: 4.992 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.621/1.621, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.0008929/0.0008932, allocations: 107.8 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.725e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2762, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.277, allocations: 147.7 MB / 1.35 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/1.277, allocations: 69.91 kB / 1.35 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002451/1.28, allocations: 0.6827 MB / 1.351 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.28, allocations: 0 / 1.351 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.412e-05/1.28, allocations: 0 / 1.351 GB, free: 33.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004039/1.28, allocations: 351.6 kB / 1.351 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.28, allocations: 16.28 kB / 1.351 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/1.28, allocations: 3.844 kB / 1.351 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/1.281, allocations: 178.6 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.281, allocations: 0 / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/1.281, allocations: 7.797 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/1.281, allocations: 43.72 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/1.281, allocations: 62.78 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.281, allocations: 3.969 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.281, allocations: 0 / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.281, allocations: 0.6562 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/1.282, allocations: 450.7 kB / 1.352 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.282, allocations: 178.2 kB / 1.352 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/1.282, allocations: 84.14 kB / 1.352 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/1.282, allocations: 75.28 kB / 1.352 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/1.282, allocations: 110.4 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/1.282, allocations: 0 / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.503e-05/1.282, allocations: 30.27 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/1.282, allocations: 52.02 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/1.282, allocations: 116.5 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.282, allocations: 33.2 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/1.282, allocations: 97.91 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/1.282, allocations: 0 / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.282, allocations: 0 / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.282, allocations: 312.2 kB / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.282, allocations: 13.67 kB / 1.353 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/1.283, allocations: 5.969 kB / 1.353 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/1.283, allocations: 6.25 kB / 1.353 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.283, allocations: 0 / 1.353 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/1.283, allocations: 53.77 kB / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.283, allocations: 4.656 kB / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.283, allocations: 0 / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.283, allocations: 4.703 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/1.283, allocations: 4.422 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.283, allocations: 0.6094 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/1.283, allocations: 3.844 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/1.283, allocations: 0.5625 kB / 1.353 GB, free: 31.75 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 (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 0.000123/1.283, allocations: 187.3 kB / 1.353 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.133e-05/1.283, allocations: 140.6 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/1.283, allocations: 105.6 kB / 1.354 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/1.283, allocations: 118.2 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.329e-05/1.283, allocations: 181 kB / 1.354 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.44e-05/1.283, allocations: 176.3 kB / 1.354 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.342e-05/1.284, allocations: 188.2 kB / 1.354 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/1.284, allocations: 395.3 kB / 1.355 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-05/1.284, allocations: 105.4 kB / 1.355 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/1.284, allocations: 105.9 kB / 1.355 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/1.284, allocations: 181 kB / 1.355 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/1.284, allocations: 176.9 kB / 1.355 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-05/1.284, allocations: 192.5 kB / 1.355 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.987e-05/1.284, allocations: 177 kB / 1.356 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/1.284, allocations: 304.8 kB / 1.356 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/1.285, allocations: 187.3 kB / 1.356 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/1.285, allocations: 181.6 kB / 1.356 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/1.285, allocations: 106.6 kB / 1.356 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/1.285, allocations: 188.5 kB / 1.357 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/1.285, allocations: 102.6 kB / 1.357 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.59e-05/1.285, allocations: 94.55 kB / 1.357 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/1.285, allocations: 3.938 kB / 1.357 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002561/1.285, allocations: 6.594 kB / 1.357 GB, free: 28.11 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 (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.0005003/1.286, allocations: 0.8056 MB / 1.358 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/1.286, allocations: 14.58 kB / 1.358 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.286, allocations: 1.281 kB / 1.358 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.286, allocations: 0 / 1.358 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/1.286, allocations: 0.5349 MB / 1.358 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/1.287, allocations: 190.4 kB / 1.358 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.287, allocations: 0.6964 MB / 1.359 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.915e-05/1.287, allocations: 6.531 kB / 1.359 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/1.287, allocations: 18.27 kB / 1.359 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.287, allocations: 0 / 1.359 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/1.309, allocations: 0.7449 MB / 1.36 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.309, allocations: 152.5 kB / 1.36 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/2.727, allocations: 2.109 kB / 1.36 GB, free: 25.62 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat