Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.242/2.242, 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.001076/0.001076, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.685/1.685, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.00109/0.00109, allocations: 91.91 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.641e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.314, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.282, allocations: 148.1 MB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.282, allocations: 66.61 kB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002212/1.284, allocations: 0.646 MB / 1.351 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.284, allocations: 0 / 1.351 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.284, allocations: 1.344 kB / 1.351 GB, free: 33.56 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002915/1.285, allocations: 330.6 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.285, allocations: 11.59 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/1.285, allocations: 5.188 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/1.285, allocations: 172.7 kB / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.285, allocations: 0 / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/1.285, allocations: 3.844 kB / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.19e-05/1.285, allocations: 7.328 kB / 1.352 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/1.285, allocations: 39.3 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/1.285, allocations: 0 / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/1.285, allocations: 0 / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.285, allocations: 8.547 kB / 1.352 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/1.285, allocations: 251.1 kB / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/1.285, allocations: 26.09 kB / 1.352 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/1.285, allocations: 8.703 kB / 1.352 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/1.285, allocations: 0.5156 kB / 1.352 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/1.285, allocations: 35.08 kB / 1.352 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.285, allocations: 0 / 1.352 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/1.286, allocations: 41.98 kB / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/1.286, allocations: 55.92 kB / 1.352 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/1.286, allocations: 93.19 kB / 1.352 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/1.286, allocations: 25.7 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.286, allocations: 84.2 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/1.286, allocations: 8.547 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.286, allocations: 0 / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/1.286, allocations: 319.8 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/1.286, allocations: 3.438 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/1.286, allocations: 3.812 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/1.286, allocations: 8.266 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.286, allocations: 1.531 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.749e-05/1.286, allocations: 35.44 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.286, allocations: 10.7 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.286, allocations: 4 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/1.286, allocations: 3.938 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/1.286, allocations: 14.8 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.286, allocations: 0 / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/1.286, allocations: 10.31 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/1.286, allocations: 0.5156 kB / 1.353 GB, free: 31.99 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 (2): * Single equations (assignments): 2 * 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 5.366e-05/1.286, allocations: 108.9 kB / 1.353 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.317e-05/1.286, allocations: 46.69 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/1.286, allocations: 0.7031 kB / 1.353 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/1.286, allocations: 47.36 kB / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.286, allocations: 0 / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.287, allocations: 4.609 kB / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.287, allocations: 3.875 kB / 1.353 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/1.287, allocations: 138.6 kB / 1.353 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.287, allocations: 0.7031 kB / 1.353 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/1.287, allocations: 14.38 kB / 1.353 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.287, allocations: 0 / 1.353 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/1.287, allocations: 0.6562 kB / 1.353 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.287, allocations: 0 / 1.353 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.287, allocations: 0 / 1.353 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/1.287, allocations: 137.8 kB / 1.353 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/1.287, allocations: 77.81 kB / 1.353 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/1.287, allocations: 7.969 kB / 1.353 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/1.287, allocations: 10.14 kB / 1.354 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/1.287, allocations: 9.188 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/1.287, allocations: 3.812 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.011e-05/1.287, allocations: 80.58 kB / 1.354 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.287, allocations: 3.781 kB / 1.354 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002162/1.287, allocations: 0 / 1.354 GB, free: 31.32 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 (2): * Single equations (assignments): 2 * 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.0003079/1.288, allocations: 0.6774 MB / 1.354 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.254e-05/1.288, allocations: 11.03 kB / 1.354 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.288, allocations: 1.281 kB / 1.354 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/1.288, allocations: 12.03 kB / 1.354 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/1.288, allocations: 4.453 kB / 1.354 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/1.288, allocations: 90.72 kB / 1.354 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.288, allocations: 0.6778 MB / 1.355 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.215e-05/1.288, allocations: 1.969 kB / 1.355 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/1.288, allocations: 9.406 kB / 1.355 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.288, allocations: 0 / 1.355 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/1.306, allocations: 0.689 MB / 1.356 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.306, allocations: 143.8 kB / 1.356 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.797, allocations: 0 / 1.356 GB, free: 29.6 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat does not exist to compare? outputFormat=mat