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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001276/0.001276, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.625/1.625, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0009672/0.0009672, allocations: 99.83 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.547e-05, allocations: 9.719 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.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9875/1.285, allocations: 147.7 MB / 1.35 GB, free: 18.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.285, allocations: 66.77 kB / 1.35 GB, free: 18.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003108/1.289, allocations: 0.764 MB / 1.351 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.289, allocations: 0.7812 kB / 1.351 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.442e-05/1.289, allocations: 3.844 kB / 1.351 GB, free: 34.2 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.0003893/1.289, allocations: 346.6 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.289, allocations: 11.5 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/1.289, allocations: 0.6562 kB / 1.351 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.289, allocations: 184.7 kB / 1.352 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1.289, allocations: 1.453 kB / 1.352 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.289, allocations: 7.812 kB / 1.352 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/1.29, allocations: 39.81 kB / 1.352 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/1.29, allocations: 66.22 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.29, allocations: 0 / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.29, allocations: 7.969 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.29, allocations: 0 / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/1.29, allocations: 449.5 kB / 1.352 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/1.29, allocations: 174.4 kB / 1.352 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/1.291, allocations: 84.77 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.291, allocations: 75.28 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/1.291, allocations: 114.4 kB / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/1.291, allocations: 0 / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.146e-05/1.291, allocations: 26.36 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/1.291, allocations: 62.88 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.291, allocations: 107.7 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/1.291, allocations: 29.45 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/1.291, allocations: 94.64 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/1.291, allocations: 3.875 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.291, allocations: 112 / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.291, allocations: 316.1 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/1.291, allocations: 9.422 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/1.291, allocations: 6.141 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/1.291, allocations: 13.3 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.291, allocations: 0.6562 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/1.291, allocations: 52.22 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.291, allocations: 4.531 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.291, allocations: 0.625 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.291, allocations: 3.953 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/1.291, allocations: 4.5 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.291, allocations: 0.7969 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/1.291, allocations: 3.844 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/1.292, allocations: 4.031 kB / 1.353 GB, free: 32.07 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 9.488e-05/1.292, allocations: 176.9 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.525e-05/1.292, allocations: 140.6 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/1.292, allocations: 110.3 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/1.292, allocations: 112.6 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.736e-05/1.292, allocations: 184.8 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/1.292, allocations: 181.6 kB / 1.354 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/1.292, allocations: 177.1 kB / 1.354 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/1.292, allocations: 397.9 kB / 1.355 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/1.292, allocations: 110.6 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/1.292, allocations: 101.9 kB / 1.355 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.147e-05/1.292, allocations: 188.9 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/1.292, allocations: 177.2 kB / 1.355 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.57e-05/1.293, allocations: 184.7 kB / 1.355 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.669e-05/1.293, allocations: 184.7 kB / 1.356 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/1.293, allocations: 301.6 kB / 1.356 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/1.293, allocations: 190.8 kB / 1.356 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/1.293, allocations: 180.7 kB / 1.356 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/1.293, allocations: 107.8 kB / 1.356 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/1.293, allocations: 184.9 kB / 1.357 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.293, allocations: 103.9 kB / 1.357 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.819e-05/1.293, allocations: 100.5 kB / 1.357 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.293, allocations: 4 kB / 1.357 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002534/1.293, allocations: 9.219 kB / 1.357 GB, free: 28.42 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.0004224/1.294, allocations: 0.8105 MB / 1.358 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/1.294, allocations: 11.55 kB / 1.358 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.294, allocations: 0 / 1.358 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/1.294, allocations: 1.344 kB / 1.358 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/1.294, allocations: 0.525 MB / 1.358 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/1.295, allocations: 190.8 kB / 1.358 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.295, allocations: 0.7014 MB / 1.359 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.38e-05/1.295, allocations: 6.5 kB / 1.359 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/1.295, allocations: 12.62 kB / 1.359 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.295, allocations: 0 / 1.359 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/1.314, allocations: 0.7473 MB / 1.36 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.315, allocations: 148.8 kB / 1.36 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.918, allocations: 0.875 kB / 1.36 GB, free: 25.94 MB / 0.8386 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