Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008526/0.008526, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001632/0.001632, allocations: 194.7 kB / 16.67 MB, free: 5.523 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00283/1.016, allocations: 1.846 MB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001829/1.018, allocations: 1.26 MB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/1.018, allocations: 10.41 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/1.018, allocations: 70.27 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/1.019, allocations: 55.7 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/1.019, allocations: 169.8 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/1.019, allocations: 0.4891 MB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/1.02, allocations: 256.3 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/1.02, allocations: 173.7 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/1.02, allocations: 195 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/1.02, allocations: 51.12 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.709e-05/1.02, allocations: 55.09 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/1.021, allocations: 104.3 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/1.021, allocations: 206.4 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/1.021, allocations: 0.5571 MB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.021, allocations: 4.688 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.021, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.021, allocations: 0.9375 kB / 1.093 GB, free: 1.961 MB / 0.8575 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.001303/1.023, allocations: 0.7331 MB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.023, allocations: 10.39 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.023, allocations: 47.88 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/1.023, allocations: 348.4 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/1.023, allocations: 33.41 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/1.024, allocations: 37.8 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/1.024, allocations: 392.1 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.024, allocations: 1.062 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/1.024, allocations: 19.67 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.024, allocations: 9.125 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/1.025, allocations: 277.5 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/1.027, allocations: 1.354 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/1.028, allocations: 255.8 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/1.028, allocations: 119.9 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/1.028, allocations: 3.609 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/1.029, allocations: 42.36 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/1.029, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0008254/1.029, allocations: 308.1 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/1.029, allocations: 105.8 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/1.03, allocations: 400.5 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.03, allocations: 34.8 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/1.03, allocations: 238.1 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/1.03, allocations: 79.83 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.031, allocations: 68.3 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.031, allocations: 342 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/1.031, allocations: 119.7 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/1.031, allocations: 210.8 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/1.032, allocations: 267.3 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.032, allocations: 1.156 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00083/1.033, allocations: 373.2 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.033, allocations: 9.656 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.033, allocations: 1.156 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.033, allocations: 2.812 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/1.033, allocations: 77.78 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.033, allocations: 3.484 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/1.034, allocations: 55.94 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/1.034, allocations: 14.44 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003286/1.034, allocations: 204 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002874/1.034, allocations: 176.8 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003586/1.035, allocations: 231.6 kB / 1.1 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/1.035, allocations: 1.453 kB / 1.1 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005918/1.035, allocations: 318.8 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.035, allocations: 6.484 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.035, allocations: 5.906 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/1.035, allocations: 4.031 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.036, allocations: 62.42 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/1.036, allocations: 11.92 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.036, allocations: 32.58 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/1.036, allocations: 13.52 kB / 1.1 GB, free: 13.38 MB / 0.8731 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.0001419/1.036, allocations: 194.6 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/1.036, allocations: 39.97 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/1.037, allocations: 251.2 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.037, allocations: 10.53 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.037, allocations: 0 / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.037, allocations: 2.016 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.038, allocations: 0.8425 MB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.038, allocations: 6.094 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.039, allocations: 49.59 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.039, allocations: 7.5 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.039, allocations: 9.359 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.039, allocations: 7.703 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.039, allocations: 2.922 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/1.04, allocations: 496.3 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.04, allocations: 120.3 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.04, allocations: 9.828 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.04, allocations: 19.42 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/1.04, allocations: 24.92 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/1.04, allocations: 7.891 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000413/1.04, allocations: 282.7 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.04, allocations: 0 / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005636/1.041, allocations: 130.2 kB / 1.103 GB, free: 11.8 MB / 0.8731 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.0001553/1.041, allocations: 108.3 kB / 1.103 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009386/1.042, allocations: 406.6 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.042, allocations: 5.5 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/1.042, allocations: 97.61 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/1.043, allocations: 78.23 kB / 1.104 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/1.044, allocations: 0.6879 MB / 1.104 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/1.045, allocations: 0.7932 MB / 1.105 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002095/1.045, allocations: 43.64 kB / 1.105 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.045, allocations: 38.44 kB / 1.105 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of SimCode: time 1.503e-06/1.045, allocations: 0 / 1.105 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.008884/1.054, allocations: 3.681 MB / 1.109 GB, free: 10.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches