Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.478/2.478, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001028/0.001029, allocations: 176.9 kB / 487.4 MB, free: 5.059 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.544/1.544, 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.001049/0.001049, allocations: 99.84 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.362e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2725, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9134/1.186, allocations: 148.1 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/1.186, allocations: 72.72 kB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00291/1.189, allocations: 0.799 MB / 1.352 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.189, allocations: 0 / 1.352 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.189, allocations: 1.312 kB / 1.352 GB, free: 33.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00045/1.19, allocations: 363.9 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/1.19, allocations: 9.094 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/1.19, allocations: 7.281 kB / 1.352 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.19, allocations: 166.3 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.19, allocations: 1.938 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.19, allocations: 5.344 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/1.19, allocations: 19.41 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/1.19, allocations: 45.16 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.19, allocations: 0 / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.19, allocations: 0 / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/1.19, allocations: 1.312 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/1.191, allocations: 285.2 kB / 1.352 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/1.191, allocations: 33.08 kB / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/1.191, allocations: 17.45 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/1.191, allocations: 0 / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.191, allocations: 40.31 kB / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/1.191, allocations: 0 / 1.352 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001609/1.191, allocations: 45.08 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/1.191, allocations: 52.16 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/1.191, allocations: 101.9 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/1.191, allocations: 26.98 kB / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/1.191, allocations: 86.19 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/1.191, allocations: 13.67 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/1.191, allocations: 0 / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.191, allocations: 322 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/1.192, allocations: 8.594 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/1.192, allocations: 12.12 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/1.192, allocations: 18.62 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.192, allocations: 0 / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.993e-05/1.192, allocations: 45.78 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.192, allocations: 5.828 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.192, allocations: 0 / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.192, allocations: 1.344 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.192, allocations: 23.53 kB / 1.353 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.192, allocations: 2.719 kB / 1.353 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/1.192, allocations: 20.81 kB / 1.353 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/1.192, allocations: 1.312 kB / 1.353 GB, free: 32.28 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 (3): * Single equations (assignments): 3 * 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.589e-05/1.192, allocations: 105.6 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.965e-05/1.192, allocations: 60.52 kB / 1.353 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/1.192, allocations: 3.172 kB / 1.353 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/1.192, allocations: 6.297 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.192, allocations: 1.984 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.192, allocations: 0 / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.192, allocations: 1.281 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/1.192, allocations: 150.3 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.192, allocations: 0 / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.193, allocations: 25.16 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.193, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.193, allocations: 1.281 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.193, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.193, allocations: 0.5625 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/1.193, allocations: 152.9 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/1.193, allocations: 78.97 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/1.193, allocations: 0.7031 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/1.193, allocations: 24.62 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/1.193, allocations: 8.469 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/1.193, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.351e-05/1.193, allocations: 90.5 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.193, allocations: 0 / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002134/1.193, allocations: 10.53 kB / 1.354 GB, free: 31.63 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 (3): * Single equations (assignments): 3 * 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.0005432/1.194, allocations: 0.6854 MB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.194, allocations: 20.03 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.194, allocations: 3.438 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/1.194, allocations: 14.94 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/1.194, allocations: 9.188 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/1.195, allocations: 104.8 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/1.195, allocations: 0.6824 MB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.648e-05/1.195, allocations: 0.7031 kB / 1.355 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/1.195, allocations: 15.89 kB / 1.355 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.195, allocations: 0 / 1.355 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/1.214, allocations: 0.9594 MB / 1.356 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.214, allocations: 151.3 kB / 1.356 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.673, allocations: 3.266 kB / 1.356 GB, free: 29.89 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat