Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008386, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.000898/0.000898, allocations: 172.7 kB / 15.95 MB, free: 208 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.403/1.403, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.505/2.505, allocations: 409.4 MB / 0.684 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 16 kB / 0.8378 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7025, allocations: 146.8 MB / 0.9812 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005548/0.7081, allocations: 4.617 MB / 0.9857 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004123/0.7122, allocations: 1.662 MB / 0.9873 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.7136, allocations: 31.92 kB / 0.9873 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.7144, allocations: 182.2 kB / 0.9875 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.7154, allocations: 127 kB / 0.9876 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.7169, allocations: 426.2 kB / 0.988 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.7189, allocations: 1.378 MB / 0.9894 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.7201, allocations: 0.5185 MB / 0.9899 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.7207, allocations: 345.9 kB / 0.9902 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.7213, allocations: 405.2 kB / 0.9906 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.7215, allocations: 40 kB / 0.9906 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.7217, allocations: 47.98 kB / 0.9907 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.7219, allocations: 175 kB / 0.9908 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.7222, allocations: 221 kB / 0.9911 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.7236, allocations: 1.432 MB / 0.9925 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7236, allocations: 0 / 0.9925 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7236, allocations: 0 / 0.9925 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.536e-05/0.7237, allocations: 0 / 0.9925 GB, free: 10.7 MB / 0.7481 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.003142/0.7268, allocations: 1.512 MB / 0.9939 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7269, allocations: 12.03 kB / 0.9939 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.7272, allocations: 168.9 kB / 0.9941 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.7276, allocations: 154.1 kB / 0.9943 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.7289, allocations: 0.7114 MB / 0.9949 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.729, allocations: 86.17 kB / 0.995 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.7292, allocations: 116 kB / 0.9951 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.7315, allocations: 1.108 MB / 0.9962 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.7315, allocations: 0 / 0.9962 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.7316, allocations: 44 kB / 0.9963 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.7316, allocations: 31.94 kB / 0.9963 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.7336, allocations: 0.8473 MB / 0.9971 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.7394, allocations: 3.94 MB / 1.001 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.7415, allocations: 1.031 MB / 1.002 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.7423, allocations: 482.6 kB / 1.002 GB, free: 148 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.7424, allocations: 12.64 kB / 1.002 GB, free: 136 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/0.7432, allocations: 436.8 kB / 1.003 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=84): time 3.536e-06/0.7433, allocations: 0 / 1.003 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=84): time 0.002229/0.7455, allocations: 1.101 MB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.7456, allocations: 226.5 kB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.747, allocations: 0.8526 MB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.7471, allocations: 49.7 kB / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.7476, allocations: 0.5619 MB / 1.006 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.7479, allocations: 279.9 kB / 1.006 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.7479, allocations: 20 kB / 1.006 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7481, allocations: 341.9 kB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.7488, allocations: 353.8 kB / 1.007 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/0.7497, allocations: 0.5951 MB / 1.007 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.7505, allocations: 436.5 kB / 1.008 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.7506, allocations: 0 / 1.008 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002077/0.7526, allocations: 1.103 MB / 1.009 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.7528, allocations: 251.7 kB / 1.009 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.7529, allocations: 7.938 kB / 1.009 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.7529, allocations: 8 kB / 1.009 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.7537, allocations: 215.7 kB / 1.009 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.7537, allocations: 11.94 kB / 1.009 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.7545, allocations: 198.9 kB / 1.009 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.7546, allocations: 43.98 kB / 1.009 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7546, allocations: 4 kB / 1.009 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/0.7559, allocations: 0.8023 MB / 1.01 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.756, allocations: 8.062 kB / 1.01 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.756, allocations: 12 kB / 1.01 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.7566, allocations: 175.7 kB / 1.01 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.7566, allocations: 8 kB / 1.01 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.7574, allocations: 151 kB / 1.01 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.7575, allocations: 43.94 kB / 1.01 GB, free: 7.609 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0005978/0.7581, allocations: 340.9 kB / 1.011 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.7583, allocations: 106.7 kB / 1.011 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.7586, allocations: 122.9 kB / 1.011 GB, free: 7.035 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.7586, allocations: 11.94 kB / 1.011 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.7586, allocations: 0 / 1.011 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7586, allocations: 7.984 kB / 1.011 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.7599, allocations: 0.9786 MB / 1.012 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7599, allocations: 0 / 1.012 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.7606, allocations: 171.8 kB / 1.012 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.7606, allocations: 4 kB / 1.012 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.7607, allocations: 16 kB / 1.012 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.7607, allocations: 4 kB / 1.012 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7607, allocations: 0 / 1.012 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.7629, allocations: 1.265 MB / 1.013 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.7631, allocations: 191.6 kB / 1.014 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.7633, allocations: 16 kB / 1.014 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.7637, allocations: 71.94 kB / 1.014 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.7637, allocations: 52.88 kB / 1.014 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.7638, allocations: 23.98 kB / 1.014 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008364/0.7646, allocations: 0.575 MB / 1.014 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7646, allocations: 0 / 1.014 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001163/0.7658, allocations: 410.2 kB / 1.015 GB, free: 3.156 MB / 0.7637 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: 3 ($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 (84): * Single equations (assignments): 83 * 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.002607/0.7684, allocations: 1.84 MB / 1.017 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.7711, allocations: 1.393 MB / 1.018 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7711, allocations: 0 / 1.018 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007097/0.7719, allocations: 401.7 kB / 1.018 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.7731, allocations: 243 kB / 1.018 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.7849, allocations: 6.402 MB / 1.025 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.7857, allocations: 1.077 MB / 1.026 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005679/0.7863, allocations: 131.9 kB / 1.026 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.7869, allocations: 455.3 kB / 1.026 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/0.787, allocations: 3.938 kB / 1.026 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04437/0.8313, allocations: 20.46 MB / 1.046 GB, free: 2.734 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.8316, allocations: 205.7 kB / 1.047 GB, free: 2.496 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.182, allocations: 0 / 1.047 GB, free: 2.496 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat does not exist to compare? outputFormat=mat