Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",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.0008794/0.0008794, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005861/0.005861, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003487, allocations: 16 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2988, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002368/0.3012, allocations: 1.488 MB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3034, allocations: 1.236 MB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.3039, allocations: 8 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3041, allocations: 55.45 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3044, allocations: 43.7 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3048, allocations: 131.9 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.3054, allocations: 457 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.306, allocations: 255.4 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.3063, allocations: 111.3 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3065, allocations: 143 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.3066, allocations: 12 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-05/0.3066, allocations: 12 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3067, allocations: 59.58 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3069, allocations: 184.5 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.3074, allocations: 0.5139 MB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3074, allocations: 4 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3074, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.3074, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001187/0.3086, allocations: 0.6784 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3087, allocations: 11.97 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.3088, allocations: 78.72 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.3089, allocations: 48.38 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.3093, allocations: 348.2 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.3094, allocations: 33.38 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.3094, allocations: 40.38 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.3102, allocations: 411.6 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3102, allocations: 3.938 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3102, allocations: 27.98 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3102, allocations: 12 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.3109, allocations: 295.8 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.313, allocations: 1.397 MB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.3137, allocations: 266.9 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.314, allocations: 128.8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.314, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3141, allocations: 42.56 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.3141, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006606/0.3147, allocations: 318.4 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3148, allocations: 110.8 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.3152, allocations: 413.5 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3153, allocations: 25.7 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.3154, allocations: 243.8 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.3155, allocations: 86.89 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3156, allocations: 37.64 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3157, allocations: 346.8 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.3159, allocations: 120.5 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.3163, allocations: 212.3 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3168, allocations: 290.6 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3168, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006953/0.3175, allocations: 380.9 kB / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.3176, allocations: 153.6 kB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3176, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3176, allocations: 4 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3179, allocations: 75.89 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3179, allocations: 11.88 kB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3182, allocations: 71.5 kB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.3182, allocations: 8 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.3182, allocations: 4 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004205/0.3186, allocations: 256.9 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3187, allocations: 4 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.3187, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3189, allocations: 64.12 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3189, allocations: 7.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3191, allocations: 47.58 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3191, allocations: 11.94 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.3193, allocations: 237 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.3194, allocations: 31.62 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.3199, allocations: 258.4 kB / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3199, allocations: 7.938 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3199, allocations: 4 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3199, allocations: 0 / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.321, allocations: 0.8066 MB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3211, allocations: 3.938 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3212, allocations: 47.97 kB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3213, allocations: 4.156 kB / 1.072 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3213, allocations: 4 kB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3213, allocations: 7.938 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3213, allocations: 4 kB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.322, allocations: 497.5 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.3221, allocations: 116.7 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3222, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3224, allocations: 31.91 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.3224, allocations: 23.92 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3224, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000283/0.3227, allocations: 291.1 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004545/0.3232, allocations: 131.4 kB / 1.073 GB, free: 6.109 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.3242, allocations: 1.013 MB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000723/0.3249, allocations: 410.1 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.325, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.3251, allocations: 103.9 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3257, allocations: 70.08 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.3302, allocations: 3.647 MB / 1.078 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3305, allocations: 0.796 MB / 1.079 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.3307, allocations: 47.25 kB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3309, allocations: 135.4 kB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3309, allocations: 0 / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3592, allocations: 6.349 MB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.3595, allocations: 212 kB / 1.085 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.281, allocations: 0 / 1.085 GB, free: 9.254 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches