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.007013/0.007013, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001238/0.001238, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.89 kB / 0.9509 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.186, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003881/1.19, allocations: 1.835 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002341/1.193, allocations: 1.261 MB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/1.193, allocations: 15.16 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/1.193, allocations: 69.47 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/1.193, allocations: 56.53 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/1.194, allocations: 162.1 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005424/1.194, allocations: 500 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/1.195, allocations: 256.3 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/1.195, allocations: 176.3 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/1.195, allocations: 199.3 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/1.195, allocations: 55.78 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/1.196, allocations: 51.28 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/1.196, allocations: 103.9 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/1.196, allocations: 206.4 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007381/1.197, allocations: 0.5611 MB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.197, allocations: 0.9844 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.454e-06/1.197, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.197, allocations: 1.125 kB / 1.093 GB, free: 1.941 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.001423/1.198, allocations: 0.7199 MB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.198, allocations: 9.312 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/1.198, allocations: 52.19 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/1.199, allocations: 335.7 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/1.199, allocations: 33.12 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/1.199, allocations: 37.72 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/1.2, allocations: 392.7 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.2, allocations: 1.156 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/1.2, allocations: 23.66 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/1.2, allocations: 9.375 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/1.2, allocations: 277.6 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/1.203, allocations: 1.345 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/1.204, allocations: 253.2 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/1.204, allocations: 114.6 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/1.204, allocations: 7.922 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.204, allocations: 39.97 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.996e-06/1.204, allocations: 0.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.001253/1.206, allocations: 299.9 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.206, allocations: 110 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/1.206, allocations: 408 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/1.206, allocations: 28.55 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/1.207, allocations: 232.8 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/1.207, allocations: 82.75 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.207, allocations: 60.86 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.207, allocations: 346.7 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/1.207, allocations: 122.6 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/1.208, allocations: 206.8 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/1.208, allocations: 273.2 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.208, allocations: 0 / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009206/1.209, allocations: 368.3 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.209, allocations: 10.03 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.209, allocations: 2.219 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.209, allocations: 7.281 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/1.21, allocations: 73.47 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.21, allocations: 3.125 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/1.21, allocations: 51.56 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.21, allocations: 14.06 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003974/1.211, allocations: 208.4 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002987/1.211, allocations: 173.1 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003919/1.211, allocations: 227.2 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.212, allocations: 1.312 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006397/1.212, allocations: 326.2 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.212, allocations: 5.938 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.212, allocations: 6.219 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.495e-06/1.212, allocations: 3.016 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/1.212, allocations: 71.64 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.212, allocations: 3.281 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/1.213, allocations: 40.67 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/1.213, allocations: 9.5 kB / 1.1 GB, free: 13.39 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.0001936/1.213, allocations: 194.1 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/1.213, allocations: 40.92 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006196/1.214, allocations: 252.7 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.214, allocations: 2.891 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.214, allocations: 1.344 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.214, allocations: 1.078 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/1.215, allocations: 0.8458 MB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.215, allocations: 2.5 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/1.216, allocations: 54.06 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/1.216, allocations: 3.344 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.216, allocations: 9.172 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.216, allocations: 3.016 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.216, allocations: 2.656 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/1.217, allocations: 494.2 kB / 1.102 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.217, allocations: 124.1 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/1.217, allocations: 9.094 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.217, allocations: 19.77 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.217, allocations: 21.55 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/1.217, allocations: 11.38 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004672/1.218, allocations: 286.9 kB / 1.103 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.218, allocations: 3.938 kB / 1.103 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006012/1.218, allocations: 118.9 kB / 1.103 GB, free: 11.82 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.0002674/1.219, allocations: 116.2 kB / 1.103 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.22, allocations: 395.1 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.22, allocations: 0.9688 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/1.22, allocations: 105.1 kB / 1.103 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/1.221, allocations: 84.25 kB / 1.104 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.222, allocations: 0.6752 MB / 1.104 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/1.223, allocations: 0.7918 MB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002052/1.223, allocations: 44 kB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.223, allocations: 30.28 kB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/1.223, allocations: 0 / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.01154/1.235, allocations: 3.682 MB / 1.109 GB, free: 10.1 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