Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput",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.0008968/0.0008968, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00553/0.00553, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003542, allocations: 15.78 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2967, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002013/0.2988, allocations: 1.5 MB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3006, allocations: 1.232 MB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.3009, allocations: 8 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3011, allocations: 55.45 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.3014, allocations: 31.78 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.3018, allocations: 147.8 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000486/0.3023, allocations: 453 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.3027, allocations: 246.3 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3029, allocations: 119.2 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3031, allocations: 139 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.3031, allocations: 12 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.3031, allocations: 12 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.3032, allocations: 55.69 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3033, allocations: 176.5 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.3038, allocations: 0.5023 MB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3038, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3039, allocations: 0 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.3039, allocations: 0 / 1.063 GB, free: 140 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001286/0.3052, allocations: 0.6552 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3052, allocations: 11.97 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.3054, allocations: 82.72 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3055, allocations: 52.31 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.306, allocations: 336.2 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.306, allocations: 33.38 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.3061, allocations: 40.38 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.3069, allocations: 403.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3069, allocations: 3.938 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3069, allocations: 12 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.307, allocations: 8 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.3076, allocations: 295.8 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.31, allocations: 1.374 MB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.3108, allocations: 270.8 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.3111, allocations: 132.8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3111, allocations: 4 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3111, allocations: 30.56 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.3111, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0007259/0.3119, allocations: 339.6 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.3119, allocations: 110.8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.3124, allocations: 401.6 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3124, allocations: 29.7 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3126, allocations: 235.9 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3127, allocations: 78.91 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3127, allocations: 29.7 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3129, allocations: 346.8 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3131, allocations: 127.9 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.3135, allocations: 209.1 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.314, allocations: 287.2 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3141, allocations: 0 / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007425/0.3148, allocations: 390.3 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/0.3149, allocations: 137.5 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3149, allocations: 0 / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3149, allocations: 4.047 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3152, allocations: 75.88 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3153, allocations: 7.938 kB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.3155, allocations: 71.5 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3156, allocations: 8 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.3156, allocations: 4 kB / 1.07 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004802/0.3161, allocations: 261.7 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.3161, allocations: 160 / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.3161, allocations: 11.94 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3163, allocations: 59.91 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3163, allocations: 11.88 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3165, allocations: 43.58 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3165, allocations: 12 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002382/0.3168, allocations: 229.1 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.3168, allocations: 35.62 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3174, allocations: 269 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3174, allocations: 3.938 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3174, allocations: 0 / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3174, allocations: 7.984 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.3187, allocations: 0.8638 MB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3187, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3189, allocations: 51.91 kB / 1.072 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.319, allocations: 4 kB / 1.072 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.319, allocations: 11.98 kB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.319, allocations: 4 kB / 1.072 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.319, allocations: 4 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.3198, allocations: 0.5076 MB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.3199, allocations: 124.6 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.3199, allocations: 8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3201, allocations: 27.97 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3202, allocations: 19.92 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3202, allocations: 12 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003327/0.3205, allocations: 287.1 kB / 1.073 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3205, allocations: 0 / 1.073 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004745/0.321, allocations: 127.5 kB / 1.073 GB, free: 6.125 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.001148/0.3222, allocations: 1.039 MB / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008445/0.323, allocations: 419 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.323, allocations: 0 / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3232, allocations: 121.6 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.3239, allocations: 74.88 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.3289, allocations: 3.655 MB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.3294, allocations: 0.796 MB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.3296, allocations: 38.95 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3298, allocations: 131.4 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.3298, allocations: 0 / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05234/0.3821, allocations: 6.463 MB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/0.3825, allocations: 228.9 kB / 1.085 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.307, allocations: 0 / 1.085 GB, free: 9.121 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches