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.001314/0.001314, allocations: 100.3 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.001693/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.549/2.549, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.7061, allocations: 142.3 MB / 0.9536 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002088/0.7082, allocations: 1.606 MB / 0.9552 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.71, allocations: 1.536 MB / 0.9567 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.7103, allocations: 11.12 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/0.7103, allocations: 39.52 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.7106, allocations: 79.22 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.7112, allocations: 233.3 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.7117, allocations: 384.4 kB / 0.9574 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.712, allocations: 236.2 kB / 0.9576 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.7122, allocations: 164.4 kB / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.7124, allocations: 192.1 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.7124, allocations: 19.97 kB / 0.958 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.7125, allocations: 33.05 kB / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.7126, allocations: 81.83 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.7127, allocations: 107.5 kB / 0.9582 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.7131, allocations: 0.6071 MB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7131, allocations: 4 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7131, allocations: 0 / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.7131, allocations: 0 / 0.9588 GB, free: 4.082 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.001169/0.7143, allocations: 0.8203 MB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7143, allocations: 8.25 kB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.715e-05/0.7144, allocations: 91.02 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.7145, allocations: 73.58 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.7149, allocations: 389.7 kB / 0.9601 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.715, allocations: 43 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.7151, allocations: 55.03 kB / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.7158, allocations: 0.4939 MB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7159, allocations: 1 kB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.7159, allocations: 21 kB / 0.9607 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.7159, allocations: 11.97 kB / 0.9607 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.7166, allocations: 369.4 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.7188, allocations: 1.583 MB / 0.9626 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/0.7196, allocations: 0.8779 MB / 0.9635 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.7197, allocations: 13.08 kB / 0.9635 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/0.7201, allocations: 249.4 kB / 0.9637 GB, free: 208 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/0.7201, allocations: 0.9688 kB / 0.9637 GB, free: 208 kB / 0.7169 GB Notification: Performance of matching and sorting (n=47): time 0.001014/0.7211, allocations: 0.5411 MB / 0.9643 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.7212, allocations: 111.7 kB / 0.9644 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.7216, allocations: 385.8 kB / 0.9647 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.7217, allocations: 38.48 kB / 0.9648 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.7219, allocations: 254 kB / 0.965 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.722, allocations: 155.1 kB / 0.9652 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.722, allocations: 16.5 kB / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7221, allocations: 360.5 kB / 0.9655 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.7226, allocations: 187.8 kB / 0.9657 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.7231, allocations: 280.6 kB / 0.966 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.7235, allocations: 234.8 kB / 0.9662 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7235, allocations: 1.281 kB / 0.9662 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001147/0.7247, allocations: 0.5757 MB / 0.9668 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.725, allocations: 0.7365 MB / 0.9675 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.725, allocations: 1.969 kB / 0.9675 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.725, allocations: 8.484 kB / 0.9675 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.7255, allocations: 100.3 kB / 0.9676 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7255, allocations: 4.25 kB / 0.9676 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.7259, allocations: 103.9 kB / 0.9677 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.726, allocations: 27.61 kB / 0.9677 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.726, allocations: 3.844 kB / 0.9677 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008393/0.7269, allocations: 475.9 kB / 0.9682 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7269, allocations: 1.875 kB / 0.9682 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.7269, allocations: 8.688 kB / 0.9682 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.7272, allocations: 90.73 kB / 0.9683 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.7273, allocations: 4.031 kB / 0.9683 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.7277, allocations: 82.55 kB / 0.9683 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.7277, allocations: 22.81 kB / 0.9684 GB, free: 12.88 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.000281/0.728, allocations: 260.8 kB / 0.9686 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.7281, allocations: 40.5 kB / 0.9687 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.7289, allocations: 441.2 kB / 0.9691 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7289, allocations: 5.406 kB / 0.9691 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7289, allocations: 0 / 0.9691 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7289, allocations: 4.031 kB / 0.9691 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.7306, allocations: 1.165 MB / 0.9702 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7306, allocations: 1.5 kB / 0.9702 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.731, allocations: 93.11 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.731, allocations: 3.594 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.731, allocations: 17.69 kB / 0.9703 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7311, allocations: 3.344 kB / 0.9703 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.7311, allocations: 6.062 kB / 0.9703 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.7323, allocations: 0.8108 MB / 0.9711 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7324, allocations: 126.6 kB / 0.9713 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.7325, allocations: 13.27 kB / 0.9713 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7327, allocations: 33.25 kB / 0.9713 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.7328, allocations: 34.11 kB / 0.9713 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.7328, allocations: 16.25 kB / 0.9713 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003375/0.7332, allocations: 276.3 kB / 0.9716 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7332, allocations: 3.938 kB / 0.9716 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008557/0.734, allocations: 196.2 kB / 0.9718 GB, free: 10.48 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.00178/0.7358, allocations: 1.794 MB / 0.9736 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.7374, allocations: 0.7943 MB / 0.9743 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7374, allocations: 1.469 kB / 0.9743 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.7378, allocations: 205.4 kB / 0.9745 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.7383, allocations: 81.89 kB / 0.9746 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.741, allocations: 2.616 MB / 0.9772 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.7414, allocations: 0.8669 MB / 0.978 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7416, allocations: 50.31 kB / 0.9781 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.7419, allocations: 188.8 kB / 0.9782 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of SimCode: time 4.8e-07/0.7419, allocations: 0 / 0.9782 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.7675, allocations: 9.436 MB / 0.9874 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.7677, allocations: 190 kB / 0.9876 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.673, allocations: 0 / 0.9876 GB, free: 12.56 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