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.212/2.212, 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.00114/0.00114, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.449/1.449, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 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.001014/0.001014, allocations: 114.9 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.575e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9193/1.209, allocations: 153.6 MB / 1.356 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.209, allocations: 89.25 kB / 1.356 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05515/1.264, allocations: 24.21 MB / 1.38 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/1.265, allocations: 0 / 1.38 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.79e-05/1.265, allocations: 34.7 kB / 1.38 GB, free: 29.18 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.00194/1.267, allocations: 1.307 MB / 1.381 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.267, allocations: 11.5 kB / 1.381 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/1.267, allocations: 162.8 kB / 1.381 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.268, allocations: 0.7626 MB / 1.382 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/1.268, allocations: 34.09 kB / 1.382 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.268, allocations: 72.56 kB / 1.382 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/1.269, allocations: 0.632 MB / 1.383 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.27, allocations: 0.8428 MB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.27, allocations: 7.812 kB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/1.271, allocations: 7.969 kB / 1.384 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.271, allocations: 27 kB / 1.384 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/1.275, allocations: 3.454 MB / 1.387 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.276, allocations: 0.8003 MB / 1.388 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/1.276, allocations: 380.5 kB / 1.388 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/1.276, allocations: 15.78 kB / 1.388 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/1.277, allocations: 352.4 kB / 1.388 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=92): time 2.525e-06/1.277, allocations: 0 / 1.388 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=92): time 0.0008865/1.278, allocations: 0.6071 MB / 1.389 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.278, allocations: 218.1 kB / 1.389 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/1.278, allocations: 0.5709 MB / 1.39 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/1.279, allocations: 29.58 kB / 1.39 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/1.279, allocations: 0.5425 MB / 1.39 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/1.279, allocations: 293.7 kB / 1.391 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/1.279, allocations: 0 / 1.391 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.279, allocations: 337.8 kB / 1.391 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/1.28, allocations: 242.8 kB / 1.391 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/1.28, allocations: 409.6 kB / 1.392 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/1.281, allocations: 302.4 kB / 1.392 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.281, allocations: 0 / 1.392 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001092/1.282, allocations: 0.7676 MB / 1.393 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/1.282, allocations: 0.6519 MB / 1.393 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.282, allocations: 3.875 kB / 1.393 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.282, allocations: 3.812 kB / 1.393 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/1.283, allocations: 203.7 kB / 1.394 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.283, allocations: 3.781 kB / 1.394 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/1.283, allocations: 155.9 kB / 1.394 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/1.283, allocations: 37.2 kB / 1.394 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.283, allocations: 5.719 kB / 1.394 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009462/1.284, allocations: 0.6069 MB / 1.394 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.284, allocations: 3.969 kB / 1.394 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/1.284, allocations: 3.875 kB / 1.394 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/1.285, allocations: 165.4 kB / 1.394 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.285, allocations: 7.875 kB / 1.394 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.285, allocations: 109.2 kB / 1.395 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/1.285, allocations: 30.25 kB / 1.395 GB, free: 22.41 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.0001757/1.286, allocations: 129 kB / 1.395 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007671/1.286, allocations: 0.5935 MB / 1.395 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/1.286, allocations: 104.8 kB / 1.395 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/1.287, allocations: 91.67 kB / 1.395 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.287, allocations: 11.53 kB / 1.396 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.287, allocations: 0 / 1.396 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.287, allocations: 11.97 kB / 1.396 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.288, allocations: 1.507 MB / 1.397 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.288, allocations: 0 / 1.397 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/1.289, allocations: 172.4 kB / 1.397 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.289, allocations: 11.92 kB / 1.397 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/1.289, allocations: 7.688 kB / 1.397 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.289, allocations: 11.83 kB / 1.397 GB, free: 21.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.289, allocations: 0 / 1.397 GB, free: 21.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/1.29, allocations: 1.042 MB / 1.398 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.29, allocations: 177 kB / 1.398 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/1.29, allocations: 11.23 kB / 1.398 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.291, allocations: 54.67 kB / 1.398 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/1.291, allocations: 54.77 kB / 1.398 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.291, allocations: 22.95 kB / 1.399 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000427/1.291, allocations: 452.5 kB / 1.399 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.291, allocations: 0 / 1.399 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008357/1.292, allocations: 371.7 kB / 1.399 GB, free: 20.75 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.001498/1.294, allocations: 1.619 MB / 1.401 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001416/1.295, allocations: 1.119 MB / 1.402 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.295, allocations: 3.938 kB / 1.402 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/1.296, allocations: 311.9 kB / 1.402 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/1.297, allocations: 205.9 kB / 1.402 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/1.299, allocations: 1.512 MB / 1.404 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/1.299, allocations: 1.116 MB / 1.405 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000644/1.3, allocations: 163.3 kB / 1.405 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/1.301, allocations: 447.4 kB / 1.406 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of SimCode: time 8.02e-07/1.301, allocations: 3.938 kB / 1.406 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/1.344, allocations: 19.36 MB / 1.425 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.345, allocations: 158.3 kB / 1.425 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/4.013, allocations: 0 / 1.425 GB, free: 0.9922 MB / 0.8386 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