Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",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.413/2.413, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001321/0.001321, allocations: 184.1 kB / 492.3 MB, free: 0.5938 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.827/1.827, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.001014/0.001014, allocations: 83.14 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.848e-05/4.852e-05, allocations: 7.984 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3393, allocations: 142.3 MB / 1.213 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.494, allocations: 154.3 MB / 1.363 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.495, allocations: 92.16 kB / 1.363 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0586/1.553, allocations: 24.37 MB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.108e-06/1.553, allocations: 3.906 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001686/1.554, allocations: 26.75 kB / 1.387 GB, free: 29.04 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003212/1.557, allocations: 1.328 MB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/1.557, allocations: 7.656 kB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/1.557, allocations: 163.8 kB / 1.389 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/1.558, allocations: 158.5 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/1.56, allocations: 0.7621 MB / 1.389 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/1.56, allocations: 90.48 kB / 1.39 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/1.56, allocations: 111.2 kB / 1.39 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.562, allocations: 1.005 MB / 1.391 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.562, allocations: 0 / 1.391 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/1.562, allocations: 50.67 kB / 1.391 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/1.562, allocations: 30.5 kB / 1.391 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.563, allocations: 0.691 MB / 1.391 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/1.569, allocations: 3.698 MB / 1.395 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.57, allocations: 0.8485 MB / 1.396 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/1.571, allocations: 406.4 kB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/1.571, allocations: 12.02 kB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006391/1.572, allocations: 387.3 kB / 1.397 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 3.397e-06/1.572, allocations: 3.938 kB / 1.397 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.001178/1.573, allocations: 0.6663 MB / 1.397 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.573, allocations: 222.1 kB / 1.397 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/1.574, allocations: 0.7649 MB / 1.398 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/1.574, allocations: 42.8 kB / 1.398 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/1.575, allocations: 0.5187 MB / 1.399 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.575, allocations: 304.3 kB / 1.399 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/1.575, allocations: 21.28 kB / 1.399 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.575, allocations: 340.1 kB / 1.399 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/1.576, allocations: 255.2 kB / 1.4 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/1.576, allocations: 436.8 kB / 1.4 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/1.577, allocations: 327.2 kB / 1.4 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.577, allocations: 0 / 1.4 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001379/1.578, allocations: 0.8564 MB / 1.401 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003196/1.578, allocations: 0.6589 MB / 1.402 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.578, allocations: 3.906 kB / 1.402 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/1.578, allocations: 3.969 kB / 1.402 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/1.579, allocations: 203.5 kB / 1.402 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/1.579, allocations: 3.531 kB / 1.402 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/1.58, allocations: 191.2 kB / 1.402 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/1.58, allocations: 33.8 kB / 1.402 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.58, allocations: 7.875 kB / 1.402 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/1.581, allocations: 0.715 MB / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/1.581, allocations: 0 / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.581, allocations: 8 kB / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/1.582, allocations: 150.9 kB / 1.403 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.582, allocations: 11.98 kB / 1.403 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/1.582, allocations: 145.8 kB / 1.403 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/1.583, allocations: 27.31 kB / 1.403 GB, free: 21.71 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: 8 ($whenCondition6,$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 (107): * Single equations (assignments): 106 * 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.0002404/1.583, allocations: 164.5 kB / 1.403 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/1.583, allocations: 118 kB / 1.404 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/1.583, allocations: 116.5 kB / 1.404 GB, free: 21.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.583, allocations: 12 kB / 1.404 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.583, allocations: 0 / 1.404 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.583, allocations: 3.984 kB / 1.404 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.586, allocations: 1.725 MB / 1.405 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.586, allocations: 0 / 1.405 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/1.586, allocations: 178.8 kB / 1.406 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.586, allocations: 4 kB / 1.406 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/1.586, allocations: 24.8 kB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.586, allocations: 3.938 kB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.586, allocations: 4 kB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/1.588, allocations: 1.119 MB / 1.407 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/1.588, allocations: 206.1 kB / 1.407 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.588, allocations: 15.56 kB / 1.407 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/1.589, allocations: 79.38 kB / 1.407 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.589, allocations: 44.47 kB / 1.407 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/1.589, allocations: 31.3 kB / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007513/1.59, allocations: 0.596 MB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.01e-07/1.59, allocations: 3.938 kB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008714/1.591, allocations: 408 kB / 1.408 GB, free: 17.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.001759/1.592, allocations: 1.713 MB / 1.41 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001622/1.594, allocations: 1.198 MB / 1.411 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.594, allocations: 0 / 1.411 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/1.594, allocations: 337.4 kB / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.595, allocations: 231 kB / 1.411 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.598, allocations: 1.603 MB / 1.413 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/1.599, allocations: 1.115 MB / 1.414 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007498/1.6, allocations: 176.2 kB / 1.414 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/1.6, allocations: 460 kB / 1.415 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of SimCode: time 1.814e-06/1.6, allocations: 4 kB / 1.415 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/1.649, allocations: 22.14 MB / 1.436 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.65, allocations: 167.7 kB / 1.436 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/4.739, allocations: 0 / 1.436 GB, free: 6.379 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat does not exist to compare? outputFormat=mat