Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 16 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.684, allocations: 142.3 MB / 0.9536 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002021/0.686, allocations: 1.674 MB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.6881, allocations: 1.597 MB / 0.9568 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.6883, allocations: 11.56 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.84e-05/0.6884, allocations: 43.45 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.6887, allocations: 83.77 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.6895, allocations: 332.3 kB / 0.9573 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.6899, allocations: 432.6 kB / 0.9577 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.6902, allocations: 246.8 kB / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.6904, allocations: 201.2 kB / 0.9581 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.6906, allocations: 211.1 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.6907, allocations: 27.72 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.6908, allocations: 40.66 kB / 0.9584 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.6908, allocations: 79.58 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.6909, allocations: 116.1 kB / 0.9585 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.6914, allocations: 0.663 MB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.6914, allocations: 5.312 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6914, allocations: 0 / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.6914, allocations: 0 / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00124/0.6926, allocations: 0.8772 MB / 0.9601 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6927, allocations: 8.875 kB / 0.9601 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.689e-05/0.6928, allocations: 92.3 kB / 0.9602 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.6929, allocations: 73.42 kB / 0.9602 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.6934, allocations: 410 kB / 0.9606 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.6934, allocations: 50.89 kB / 0.9607 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.6935, allocations: 63.31 kB / 0.9607 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.6944, allocations: 0.5231 MB / 0.9612 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6944, allocations: 1 kB / 0.9612 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.6944, allocations: 25.53 kB / 0.9613 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.6944, allocations: 11.97 kB / 0.9613 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.6952, allocations: 381.1 kB / 0.9616 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.6974, allocations: 1.691 MB / 0.9633 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.6984, allocations: 0.9067 MB / 0.9642 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.6984, allocations: 18.22 kB / 0.9642 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.699, allocations: 277.1 kB / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 4.338e-06/0.699, allocations: 3.984 kB / 0.9645 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53): time 0.001244/0.7002, allocations: 0.5957 MB / 0.965 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7003, allocations: 110.2 kB / 0.9651 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.7008, allocations: 405.3 kB / 0.9655 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.7009, allocations: 40.27 kB / 0.9656 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.7011, allocations: 260.3 kB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7013, allocations: 169.8 kB / 0.966 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.7013, allocations: 12.75 kB / 0.966 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.7015, allocations: 365.8 kB / 0.9663 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.702, allocations: 216 kB / 0.9665 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.7025, allocations: 307 kB / 0.9668 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.7031, allocations: 292.7 kB / 0.9671 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7031, allocations: 4.938 kB / 0.9671 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00138/0.7045, allocations: 0.6888 MB / 0.9678 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.7049, allocations: 0.6732 MB / 0.9684 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7049, allocations: 2 kB / 0.9685 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7049, allocations: 11.41 kB / 0.9685 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.7054, allocations: 104.9 kB / 0.9686 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.7054, allocations: 7.922 kB / 0.9686 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.706, allocations: 137.3 kB / 0.9687 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.7061, allocations: 30.58 kB / 0.9687 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.7061, allocations: 11.34 kB / 0.9687 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/0.7072, allocations: 0.5714 MB / 0.9693 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.7072, allocations: 1.125 kB / 0.9693 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.7072, allocations: 3.969 kB / 0.9693 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.7076, allocations: 87.12 kB / 0.9694 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7076, allocations: 3.625 kB / 0.9694 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.7081, allocations: 129.4 kB / 0.9695 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.7081, allocations: 26.14 kB / 0.9695 GB, free: 12.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0003105/0.7085, allocations: 268.5 kB / 0.9698 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.7085, allocations: 50.69 kB / 0.9698 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00089/0.7094, allocations: 484 kB / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7095, allocations: 5.469 kB / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7095, allocations: 0 / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7095, allocations: 3.984 kB / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.7115, allocations: 1.233 MB / 0.9715 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7115, allocations: 2.156 kB / 0.9715 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.7119, allocations: 92.7 kB / 0.9716 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.712, allocations: 4.188 kB / 0.9716 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.712, allocations: 16.61 kB / 0.9716 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.712, allocations: 7.562 kB / 0.9716 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.712, allocations: 6.453 kB / 0.9716 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.7135, allocations: 0.8733 MB / 0.9725 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.7136, allocations: 131.3 kB / 0.9726 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.7137, allocations: 13.03 kB / 0.9726 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.7139, allocations: 34.59 kB / 0.9727 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.714, allocations: 36.75 kB / 0.9727 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.7141, allocations: 24.16 kB / 0.9727 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003669/0.7145, allocations: 278.6 kB / 0.973 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7145, allocations: 1.25 kB / 0.973 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007655/0.7152, allocations: 229.3 kB / 0.9732 GB, free: 9.633 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * 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.00182/0.7171, allocations: 1.857 MB / 0.975 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.7188, allocations: 1.018 MB / 0.976 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7188, allocations: 0.75 kB / 0.976 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.7193, allocations: 233.2 kB / 0.9762 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.7198, allocations: 87.28 kB / 0.9763 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.7224, allocations: 2.462 MB / 0.9787 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.7228, allocations: 0.8712 MB / 0.9796 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.7231, allocations: 62.3 kB / 0.9796 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.7233, allocations: 194.2 kB / 0.9798 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.7234, allocations: 4 kB / 0.9798 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.7479, allocations: 10.96 MB / 0.9905 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.7482, allocations: 199 kB / 0.9907 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.798, allocations: 0 / 0.9907 GB, free: 9.445 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat does not exist to compare? outputFormat=mat