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.001459/0.001459, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001634/0.001634, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.94 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003087/0.331, allocations: 1.853 MB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3327, allocations: 1.271 MB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3329, allocations: 8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3331, allocations: 67.2 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.3333, allocations: 55.47 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.3336, allocations: 175.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.3341, allocations: 497 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.3344, allocations: 250.3 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3346, allocations: 171.3 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3348, allocations: 198.9 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3348, allocations: 52 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.3349, allocations: 55.94 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.335, allocations: 99.69 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3351, allocations: 214.8 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.3356, allocations: 0.5565 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.55 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.001204/0.3368, allocations: 0.7252 MB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3369, allocations: 11.97 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.337, allocations: 48.38 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3375, allocations: 336.4 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.3375, allocations: 29.38 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.3376, allocations: 40.38 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.3382, allocations: 391.6 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3382, allocations: 4.125 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3383, allocations: 19.94 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3383, allocations: 8 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.3388, allocations: 271.9 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.3408, allocations: 1.354 MB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.3416, allocations: 250.7 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3418, allocations: 127.5 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3418, allocations: 4 kB / 1.036 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3419, allocations: 30.56 kB / 1.036 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.3419, allocations: 4 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0006604/0.3425, allocations: 306.1 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3426, allocations: 106.8 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.343, allocations: 401.6 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3431, allocations: 33.7 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3432, allocations: 231.9 kB / 1.037 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.3433, allocations: 82.89 kB / 1.037 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3434, allocations: 65.69 kB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3435, allocations: 346.8 kB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.3438, allocations: 112.8 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.3441, allocations: 205.1 kB / 1.037 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.3446, allocations: 268.8 kB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3446, allocations: 7.938 kB / 1.038 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006831/0.3453, allocations: 368.9 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3453, allocations: 11.94 kB / 1.038 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3453, allocations: 0 / 1.038 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3454, allocations: 4 kB / 1.038 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.3457, allocations: 71.89 kB / 1.038 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3457, allocations: 3.938 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3459, allocations: 67.59 kB / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3459, allocations: 12 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002759/0.3462, allocations: 208.1 kB / 1.038 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002264/0.3465, allocations: 171 kB / 1.039 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003214/0.3468, allocations: 223.8 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.3468, allocations: 0 / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005293/0.3473, allocations: 323.6 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3474, allocations: 4 kB / 1.039 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3474, allocations: 7.938 kB / 1.039 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.3474, allocations: 4 kB / 1.039 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.3476, allocations: 67.91 kB / 1.039 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3476, allocations: 4 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3479, allocations: 35.98 kB / 1.039 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3479, allocations: 12 kB / 1.039 GB, free: 4.871 MB / 0.8106 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.0001842/0.3481, allocations: 200.1 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.3481, allocations: 39.47 kB / 1.039 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.3487, allocations: 242.3 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3487, allocations: 8 kB / 1.04 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3487, allocations: 0 / 1.04 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3487, allocations: 3.984 kB / 1.04 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.3502, allocations: 0.8442 MB / 1.041 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3502, allocations: 4 kB / 1.041 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3504, allocations: 43.97 kB / 1.041 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.3504, allocations: 4 kB / 1.041 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.3505, allocations: 8 kB / 1.041 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.3505, allocations: 12.19 kB / 1.041 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3505, allocations: 4 kB / 1.041 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.3513, allocations: 494.8 kB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3514, allocations: 116.7 kB / 1.041 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3514, allocations: 11.98 kB / 1.041 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3516, allocations: 19.98 kB / 1.041 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.3517, allocations: 19.92 kB / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3517, allocations: 8 kB / 1.041 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003323/0.352, allocations: 287.1 kB / 1.042 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 0 / 1.042 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005138/0.3526, allocations: 131.5 kB / 1.042 GB, free: 2.254 MB / 0.8106 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.0002341/0.3528, allocations: 115.2 kB / 1.042 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008966/0.3537, allocations: 399.5 kB / 1.042 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3537, allocations: 0.625 kB / 1.042 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3539, allocations: 103.8 kB / 1.042 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.3545, allocations: 82.94 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.356, allocations: 0.6871 MB / 1.043 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3564, allocations: 0.7918 MB / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000182/0.3566, allocations: 46.94 kB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.3567, allocations: 31.44 kB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.3567, allocations: 0 / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.007307/0.364, allocations: 3.617 MB / 1.047 GB, free: 12.35 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 -s gbode -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/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