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: 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.0009501/0.00095, allocations: 91.84 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.001139/0.001139, 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.479/1.479, allocations: 223.2 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 11.12 kB / 0.9022 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.399, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002174/0.4012, allocations: 1.384 MB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4031, allocations: 1.217 MB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.4033, allocations: 11.94 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.4035, allocations: 47.52 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.4037, allocations: 43.7 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.404, allocations: 107.8 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.4045, allocations: 425.2 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.4048, allocations: 178.7 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4049, allocations: 103.4 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4051, allocations: 139.1 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.4052, allocations: 12 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.067e-05/0.4052, allocations: 12 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.4053, allocations: 59.64 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.4053, allocations: 89.45 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.4057, allocations: 427.1 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4057, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4057, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4058, allocations: 0 / 1.062 GB, free: 1.055 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.001092/0.4068, allocations: 0.668 MB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4069, allocations: 8.031 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.407, allocations: 47.44 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.4075, allocations: 327.3 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.4075, allocations: 29 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.4076, allocations: 43.95 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.4083, allocations: 395 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4083, allocations: 3.938 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.4083, allocations: 16 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4083, allocations: 8 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.4089, allocations: 295.8 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.411, allocations: 1.366 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.4118, allocations: 283.3 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.4121, allocations: 123.6 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4121, allocations: 4.188 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4122, allocations: 34.75 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 3.216e-06/0.4122, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0006897/0.4129, allocations: 346 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.413, allocations: 102.8 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.4134, allocations: 397.6 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.4135, allocations: 33.64 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4137, allocations: 235.9 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.4137, allocations: 74.91 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.4137, allocations: 12 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4139, allocations: 346.8 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.4142, allocations: 115.9 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.4145, allocations: 205.1 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.4149, allocations: 143.9 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4149, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000721/0.4156, allocations: 378.5 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4157, allocations: 140 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4157, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4157, allocations: 12.03 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.416, allocations: 71.89 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4161, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4163, allocations: 71.41 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4164, allocations: 19.98 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.4164, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004509/0.4168, allocations: 260.2 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4168, allocations: 7.953 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.88e-06/0.4169, allocations: 4 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.4171, allocations: 59.91 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.4171, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4173, allocations: 55.77 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4173, allocations: 8 kB / 1.069 GB, free: 10.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.4175, allocations: 237 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.4176, allocations: 35.53 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.4182, allocations: 264.9 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4182, allocations: 4 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4182, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4182, allocations: 3.938 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4196, allocations: 0.8637 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4196, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4198, allocations: 56.22 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4198, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4199, allocations: 7.984 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.4199, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4199, allocations: 4 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.4206, allocations: 0.5036 MB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.4207, allocations: 116.7 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.4208, allocations: 8 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4209, allocations: 31.97 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.421, allocations: 15.94 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.421, allocations: 12 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000305/0.4213, allocations: 279.2 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4213, allocations: 4 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005012/0.4218, allocations: 123.6 kB / 1.071 GB, free: 7.379 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 (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.0002235/0.4221, allocations: 115.1 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008411/0.4229, allocations: 409 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4229, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.4231, allocations: 116.9 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.4238, allocations: 69.45 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.4253, allocations: 0.7993 MB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4257, allocations: 0.796 MB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.4259, allocations: 42.94 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.426, allocations: 35.36 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.426, allocations: 4 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.007436/0.4334, allocations: 3.276 MB / 1.077 GB, free: 1.672 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