Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.001038/0.001038, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0015/0.0015, allocations: 168.7 kB / 15.95 MB, free: 204 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.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.277 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.544/2.544, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7204, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001987/0.7224, allocations: 1.594 MB / 0.9554 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.725, allocations: 1.543 MB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005418/0.7256, allocations: 16.75 kB / 0.957 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.7259, allocations: 59.16 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.7262, allocations: 46.08 kB / 0.9571 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.727, allocations: 228.6 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.7277, allocations: 0.5834 MB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.7281, allocations: 241 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.7284, allocations: 171.6 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.7287, allocations: 183.1 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.805e-05/0.7288, allocations: 20.88 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.7289, allocations: 36.17 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.729, allocations: 81.77 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.7291, allocations: 107.9 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.7297, allocations: 0.6106 MB / 0.9592 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7297, allocations: 0 / 0.9592 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7297, allocations: 1.375 kB / 0.9592 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.7297, allocations: 0 / 0.9592 GB, free: 3.941 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001488/0.7312, allocations: 0.8151 MB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.7313, allocations: 9.625 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.7314, allocations: 90.61 kB / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.7316, allocations: 69.77 kB / 0.9602 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.732, allocations: 392.2 kB / 0.9606 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.7321, allocations: 45.16 kB / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.7322, allocations: 52.91 kB / 0.9607 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.733, allocations: 0.4956 MB / 0.9612 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.733, allocations: 0 / 0.9612 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.7331, allocations: 21.12 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.7331, allocations: 15.86 kB / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.7337, allocations: 365.9 kB / 0.9615 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.7358, allocations: 1.587 MB / 0.9631 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.7366, allocations: 0.8878 MB / 0.964 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.7369, allocations: 227.7 kB / 0.9642 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.737, allocations: 8 kB / 0.9642 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.7375, allocations: 252.3 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.7375, allocations: 0.9688 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47): time 0.001224/0.7387, allocations: 0.5448 MB / 0.965 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.7388, allocations: 108.3 kB / 0.9651 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.7393, allocations: 393.4 kB / 0.9654 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.7394, allocations: 42.2 kB / 0.9655 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.7397, allocations: 253.7 kB / 0.9657 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.7398, allocations: 159.2 kB / 0.9659 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.7399, allocations: 12 kB / 0.9659 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7401, allocations: 352.8 kB / 0.9662 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.7406, allocations: 184.5 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.7411, allocations: 294.9 kB / 0.9667 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.7416, allocations: 226.3 kB / 0.9669 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7417, allocations: 1.125 kB / 0.9669 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001283/0.7429, allocations: 0.5763 MB / 0.9675 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.7431, allocations: 177.4 kB / 0.9676 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7431, allocations: 2 kB / 0.9676 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7431, allocations: 4.156 kB / 0.9676 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.7436, allocations: 108.4 kB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.7436, allocations: 3.781 kB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.7441, allocations: 104.5 kB / 0.9678 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.7441, allocations: 23.14 kB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.7441, allocations: 4 kB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008434/0.745, allocations: 476.1 kB / 0.9683 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.745, allocations: 2.625 kB / 0.9683 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.745, allocations: 3.969 kB / 0.9683 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.7454, allocations: 94.16 kB / 0.9684 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7454, allocations: 4.031 kB / 0.9684 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.7458, allocations: 88.88 kB / 0.9685 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.7458, allocations: 23.09 kB / 0.9685 GB, free: 13.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0003481/0.7462, allocations: 256.4 kB / 0.9688 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.7463, allocations: 40.59 kB / 0.9688 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.7471, allocations: 448.7 kB / 0.9692 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7472, allocations: 8.969 kB / 0.9692 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7472, allocations: 1.438 kB / 0.9692 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7472, allocations: 0 / 0.9692 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.7488, allocations: 1.16 MB / 0.9704 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7489, allocations: 1.375 kB / 0.9704 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.7492, allocations: 85.86 kB / 0.9705 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.7492, allocations: 3.688 kB / 0.9705 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.7493, allocations: 20.77 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7493, allocations: 7.891 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7493, allocations: 1.844 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7504, allocations: 0.7443 MB / 0.9712 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.7505, allocations: 131 kB / 0.9713 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.7506, allocations: 16.27 kB / 0.9714 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.7508, allocations: 25.64 kB / 0.9714 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.7509, allocations: 42.22 kB / 0.9714 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.7509, allocations: 16.16 kB / 0.9714 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003175/0.7512, allocations: 268.4 kB / 0.9717 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7512, allocations: 0 / 0.9717 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006813/0.7519, allocations: 196.3 kB / 0.9719 GB, free: 10.92 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.00155/0.7535, allocations: 1.315 MB / 0.9732 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.7548, allocations: 0.7865 MB / 0.9739 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7549, allocations: 1.469 kB / 0.9739 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.7552, allocations: 205.8 kB / 0.9741 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.7558, allocations: 94.41 kB / 0.9742 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.7604, allocations: 2.929 MB / 0.9771 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.7608, allocations: 0.8474 MB / 0.9779 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.7611, allocations: 63.34 kB / 0.978 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.7613, allocations: 183.4 kB / 0.9781 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.7613, allocations: 3.938 kB / 0.9781 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.7827, allocations: 9.671 MB / 0.9876 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.7829, allocations: 191.4 kB / 0.9878 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.701, allocations: 4.062 kB / 0.9878 GB, free: 12.72 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat does not exist to compare? outputFormat=mat