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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.88 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.009716/0.009717, allocations: 171 kB / 16.27 MB, free: 6.324 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.531/1.531, 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.1-master/package.mo): time 2.913/2.913, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 15.84 kB / 0.9028 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3938, allocations: 159.6 MB / 1.059 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003399/0.3972, allocations: 1.496 MB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.4001, allocations: 1.232 MB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.4008, allocations: 8 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.4012, allocations: 51.45 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.4016, allocations: 31.8 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.4022, allocations: 143.8 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.4033, allocations: 457 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.4039, allocations: 242.3 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.4042, allocations: 119.2 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.4045, allocations: 139.1 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.4046, allocations: 15.94 kB / 1.063 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.672e-05/0.4047, allocations: 12 kB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.4048, allocations: 55.7 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.405, allocations: 184.5 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.4057, allocations: 498.4 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4057, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.135e-06/0.4057, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.4057, allocations: 0 / 1.063 GB, free: 0.7383 MB / 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.002089/0.4078, allocations: 0.6722 MB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.4079, allocations: 8.031 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.4081, allocations: 48.42 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.4088, allocations: 332.2 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.4089, allocations: 33.31 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.409, allocations: 48.31 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.41, allocations: 395.6 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4101, allocations: 192 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.4101, allocations: 23.92 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.4101, allocations: 12 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.4111, allocations: 291.8 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.4145, allocations: 1.366 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4157, allocations: 283.8 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.4161, allocations: 128.7 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.4162, allocations: 7.984 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.4163, allocations: 38.56 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.003e-06/0.4163, allocations: 0 / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.001132/0.4175, allocations: 326.9 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.4176, allocations: 106.8 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.4183, allocations: 401.6 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.4184, allocations: 33.7 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.4186, allocations: 235.9 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.4187, allocations: 78.98 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.4188, allocations: 29.7 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.419, allocations: 354.7 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.4194, allocations: 127.9 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.42, allocations: 209.1 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.4208, allocations: 279.1 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.4208, allocations: 0 / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001155/0.422, allocations: 390.4 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.4222, allocations: 138.2 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4222, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.4222, allocations: 8 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.4227, allocations: 71.91 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.4227, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.4231, allocations: 59.52 kB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.4232, allocations: 19.98 kB / 1.07 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4232, allocations: 4 kB / 1.07 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007869/0.424, allocations: 263.7 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.424, allocations: 0 / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.424, allocations: 7.938 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.4244, allocations: 67.84 kB / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4244, allocations: 7.984 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.4247, allocations: 47.73 kB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.4248, allocations: 16.05 kB / 1.07 GB, free: 9.531 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.0003899/0.4252, allocations: 229 kB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.4253, allocations: 31.62 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/0.4262, allocations: 268.9 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4262, allocations: 0 / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4262, allocations: 7.938 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4262, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.4283, allocations: 0.8746 MB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4283, allocations: 4 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4286, allocations: 52.22 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.4286, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.4286, allocations: 8 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/0.4287, allocations: 11.92 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4287, allocations: 4 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4299, allocations: 0.4997 MB / 1.072 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.43, allocations: 128.5 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.4301, allocations: 8 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.4304, allocations: 23.98 kB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.4305, allocations: 23.91 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.4305, allocations: 8 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004549/0.431, allocations: 287.2 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.431, allocations: 0 / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007459/0.4317, allocations: 119.7 kB / 1.072 GB, free: 6.812 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.0002306/0.432, allocations: 119.1 kB / 1.073 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.4334, allocations: 408.8 kB / 1.073 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4334, allocations: 0 / 1.073 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.4337, allocations: 109 kB / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.4347, allocations: 76.3 kB / 1.073 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4367, allocations: 0.8444 MB / 1.074 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.4373, allocations: 0.8038 MB / 1.075 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.4376, allocations: 38.95 kB / 1.075 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4377, allocations: 27.44 kB / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of SimCode: time 8.32e-07/0.4378, allocations: 0 / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.01184/0.4496, allocations: 3.398 MB / 1.078 GB, free: 0.957 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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