Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.334/2.334, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001297/0.001297, allocations: 179 kB / 492.3 MB, free: 0.6211 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.472/1.472, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 106.7 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.804e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.28, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9174/1.197, allocations: 155.9 MB / 1.365 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.198, allocations: 82.61 kB / 1.365 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02853/1.226, allocations: 12.36 MB / 1.377 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.545e-06/1.226, allocations: 4 kB / 1.377 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.503e-05/1.226, allocations: 23.47 kB / 1.377 GB, free: 33.8 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001276/1.228, allocations: 0.8781 MB / 1.378 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.228, allocations: 15.56 kB / 1.378 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/1.228, allocations: 96.25 kB / 1.378 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/1.228, allocations: 81.56 kB / 1.378 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/1.229, allocations: 0.5292 MB / 1.378 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/1.229, allocations: 41.91 kB / 1.378 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/1.229, allocations: 62.19 kB / 1.379 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/1.23, allocations: 0.5993 MB / 1.379 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.23, allocations: 3.906 kB / 1.379 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/1.23, allocations: 32.06 kB / 1.379 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/1.23, allocations: 15.44 kB / 1.379 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/1.23, allocations: 426.2 kB / 1.38 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/1.233, allocations: 2.101 MB / 1.382 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/1.234, allocations: 433.7 kB / 1.382 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/1.234, allocations: 220.1 kB / 1.382 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/1.234, allocations: 8.125 kB / 1.382 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/1.234, allocations: 249.3 kB / 1.382 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=50): time 3.066e-06/1.234, allocations: 3.938 kB / 1.382 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=50): time 0.0006508/1.235, allocations: 431.9 kB / 1.383 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.235, allocations: 162.3 kB / 1.383 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/1.235, allocations: 396.4 kB / 1.383 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.235, allocations: 36.83 kB / 1.383 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/1.236, allocations: 325.8 kB / 1.384 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/1.236, allocations: 165.8 kB / 1.384 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.236, allocations: 13.81 kB / 1.384 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.236, allocations: 365.3 kB / 1.384 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/1.236, allocations: 153.7 kB / 1.384 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/1.236, allocations: 254.1 kB / 1.385 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.237, allocations: 215.7 kB / 1.385 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.237, allocations: 3.953 kB / 1.385 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007399/1.237, allocations: 0.5244 MB / 1.385 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/1.238, allocations: 37.39 kB / 1.385 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.238, allocations: 3.719 kB / 1.385 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/1.238, allocations: 3.844 kB / 1.385 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/1.238, allocations: 122.8 kB / 1.386 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.238, allocations: 7.531 kB / 1.386 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/1.239, allocations: 84.55 kB / 1.386 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/1.239, allocations: 15.16 kB / 1.386 GB, free: 29.83 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001489/1.239, allocations: 136.8 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/1.239, allocations: 62.05 kB / 1.386 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/1.239, allocations: 70.55 kB / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.239, allocations: 3.844 kB / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.239, allocations: 0 / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.239, allocations: 3.984 kB / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/1.24, allocations: 1.224 MB / 1.387 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.24, allocations: 48 / 1.387 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.241, allocations: 116.5 kB / 1.387 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.241, allocations: 3.844 kB / 1.387 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/1.241, allocations: 10.8 kB / 1.387 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.241, allocations: 11.83 kB / 1.387 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.241, allocations: 3.938 kB / 1.387 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/1.242, allocations: 0.7483 MB / 1.388 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/1.242, allocations: 186.6 kB / 1.388 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/1.242, allocations: 10.91 kB / 1.388 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/1.243, allocations: 49.52 kB / 1.388 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.243, allocations: 38.84 kB / 1.388 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/1.243, allocations: 15.28 kB / 1.388 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003077/1.243, allocations: 312.6 kB / 1.389 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.243, allocations: 0 / 1.389 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004346/1.244, allocations: 155.9 kB / 1.389 GB, free: 28.58 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001105/1.245, allocations: 1.322 MB / 1.39 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005888/1.245, allocations: 458.7 kB / 1.39 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.245, allocations: 3.844 kB / 1.39 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/1.246, allocations: 211 kB / 1.391 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/1.246, allocations: 130.1 kB / 1.391 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/1.249, allocations: 1.379 MB / 1.392 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.249, allocations: 0.9041 MB / 1.393 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002684/1.249, allocations: 67.38 kB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/1.25, allocations: 226.7 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.25, allocations: 3.938 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.272, allocations: 11.46 MB / 1.404 GB, free: 18.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/1.272, allocations: 169.8 kB / 1.405 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.444, allocations: 0 / 1.405 GB, free: 18.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat