Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.547/2.547, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001092/0.001117, allocations: 173 kB / 492.3 MB, free: 0.6133 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.547/1.547, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.00113/0.00113, allocations: 91.45 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.226e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.413, allocations: 151.2 MB / 1.36 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.413, allocations: 77.88 kB / 1.36 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04026/1.453, allocations: 16.11 MB / 1.376 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.453, allocations: 3.844 kB / 1.376 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001179/1.453, allocations: 19.25 kB / 1.376 GB, free: 33.15 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002515/1.456, allocations: 1.086 MB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.456, allocations: 7.688 kB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/1.456, allocations: 132.8 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/1.457, allocations: 124.5 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.458, allocations: 0.5577 MB / 1.378 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/1.458, allocations: 68.06 kB / 1.378 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.458, allocations: 90.12 kB / 1.378 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.459, allocations: 0.7992 MB / 1.379 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.459, allocations: 4 kB / 1.379 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/1.459, allocations: 35 kB / 1.379 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/1.459, allocations: 23.28 kB / 1.379 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/1.46, allocations: 0.5352 MB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/1.465, allocations: 2.782 MB / 1.382 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.466, allocations: 0.6089 MB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/1.466, allocations: 347.8 kB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/1.466, allocations: 10.12 kB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/1.467, allocations: 335.9 kB / 1.383 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 3.808e-06/1.467, allocations: 0 / 1.383 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.0009681/1.468, allocations: 0.5543 MB / 1.384 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/1.468, allocations: 192.1 kB / 1.384 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/1.469, allocations: 0.6124 MB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/1.469, allocations: 44.61 kB / 1.385 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/1.469, allocations: 402.8 kB / 1.385 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/1.469, allocations: 258 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/1.469, allocations: 13.75 kB / 1.385 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.469, allocations: 339.5 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/1.47, allocations: 223 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/1.47, allocations: 377.9 kB / 1.386 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/1.471, allocations: 294.6 kB / 1.387 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.471, allocations: 0 / 1.387 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001101/1.472, allocations: 0.7415 MB / 1.387 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/1.472, allocations: 0.5619 MB / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.472, allocations: 0 / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.472, allocations: 7.531 kB / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/1.473, allocations: 163.6 kB / 1.388 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/1.473, allocations: 7.828 kB / 1.388 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/1.474, allocations: 168.5 kB / 1.388 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/1.474, allocations: 34.73 kB / 1.388 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.474, allocations: 3.844 kB / 1.388 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008876/1.475, allocations: 0.6285 MB / 1.389 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.475, allocations: 4 kB / 1.389 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/1.475, allocations: 3.812 kB / 1.389 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/1.475, allocations: 130.1 kB / 1.389 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.475, allocations: 7.797 kB / 1.389 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/1.476, allocations: 132.1 kB / 1.389 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.476, allocations: 25.88 kB / 1.389 GB, free: 27.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0001961/1.476, allocations: 155.3 kB / 1.389 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.476, allocations: 93.52 kB / 1.389 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/1.477, allocations: 0.5978 MB / 1.39 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.477, allocations: 7.594 kB / 1.39 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.477, allocations: 7.891 kB / 1.39 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.477, allocations: 7.859 kB / 1.39 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/1.48, allocations: 1.637 MB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.48, allocations: 7.938 kB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/1.48, allocations: 151 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/1.48, allocations: 3.844 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/1.48, allocations: 18.06 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/1.48, allocations: 7.688 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.48, allocations: 4 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/1.482, allocations: 1.115 MB / 1.393 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.482, allocations: 172.4 kB / 1.393 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/1.482, allocations: 18.06 kB / 1.393 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/1.482, allocations: 64.48 kB / 1.393 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/1.483, allocations: 54.52 kB / 1.393 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/1.483, allocations: 26.61 kB / 1.393 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006779/1.483, allocations: 493.6 kB / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.483, allocations: 0 / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009863/1.484, allocations: 322.8 kB / 1.394 GB, free: 25.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001902/1.486, allocations: 2.32 MB / 1.396 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.488, allocations: 1.046 MB / 1.397 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.488, allocations: 4.469 kB / 1.397 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/1.488, allocations: 281.8 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/1.489, allocations: 160.1 kB / 1.398 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/1.492, allocations: 1.302 MB / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/1.492, allocations: 1.004 MB / 1.4 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005983/1.493, allocations: 146.6 kB / 1.4 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/1.493, allocations: 343.4 kB / 1.4 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of SimCode: time 9.01e-07/1.493, allocations: 0 / 1.4 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/1.531, allocations: 17.29 MB / 1.417 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.531, allocations: 156 kB / 1.417 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/4.166, allocations: 0 / 1.417 GB, free: 6.523 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat