Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_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_10_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.001106/0.001106, allocations: 98.19 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.008487/0.008488, allocations: 172 kB / 16.27 MB, free: 6.648 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 16 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7893, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002412/0.7918, allocations: 1.49 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.7938, allocations: 1.232 MB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.7941, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.7943, allocations: 55.45 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.7946, allocations: 35.78 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.795, allocations: 143.8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.7955, allocations: 457 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.7959, allocations: 238.3 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.7961, allocations: 119.2 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.7963, allocations: 135.1 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.7964, allocations: 12 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.7964, allocations: 19.94 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.7965, allocations: 59.69 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.7966, allocations: 176.5 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.7971, allocations: 0.4922 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7971, allocations: 4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7971, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.7971, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 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.001219/0.7983, allocations: 0.659 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7984, allocations: 12.03 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.7985, allocations: 48.36 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.7989, allocations: 332.3 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.799, allocations: 33.38 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.7991, allocations: 44.25 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.7998, allocations: 399.6 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7998, allocations: 192 / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.7999, allocations: 15.94 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.7999, allocations: 15.98 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.8005, allocations: 299.7 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.8027, allocations: 1.366 MB / 1.031 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.8035, allocations: 279.4 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.8038, allocations: 128.8 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.8038, allocations: 4 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8039, allocations: 38.55 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.8039, allocations: 0 / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.000731/0.8046, allocations: 335.8 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.8047, allocations: 102.8 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.8051, allocations: 401.6 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.8051, allocations: 29.7 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.8053, allocations: 239.8 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.8054, allocations: 78.94 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.8054, allocations: 33.7 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8056, allocations: 346.8 kB / 1.033 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.8059, allocations: 123.9 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.8063, allocations: 213.1 kB / 1.033 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.8068, allocations: 286.8 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8068, allocations: 0 / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007881/0.8076, allocations: 386.4 kB / 1.034 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.8078, allocations: 142.2 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8078, allocations: 4 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8078, allocations: 0 / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.8081, allocations: 75.91 kB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8081, allocations: 7.984 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.8084, allocations: 59.58 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.8085, allocations: 11.98 kB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.8085, allocations: 4 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005086/0.809, allocations: 271.7 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.809, allocations: 4 kB / 1.034 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.809, allocations: 4 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.8093, allocations: 63.84 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8093, allocations: 0 / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.8095, allocations: 47.61 kB / 1.034 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.8095, allocations: 12.16 kB / 1.034 GB, free: 3.949 MB / 0.7794 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.0002102/0.8097, allocations: 233.6 kB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.8098, allocations: 39.47 kB / 1.035 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.8104, allocations: 268.9 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.8104, allocations: 4 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8104, allocations: 3.938 kB / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8104, allocations: 0 / 1.035 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.8119, allocations: 0.8676 MB / 1.036 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8119, allocations: 8 kB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.8121, allocations: 43.97 kB / 1.036 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8121, allocations: 4 kB / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8122, allocations: 8.25 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.8122, allocations: 15.92 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8122, allocations: 0 / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.813, allocations: 0.5115 MB / 1.036 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.8131, allocations: 124.8 kB / 1.036 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.8132, allocations: 11.98 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.8134, allocations: 31.92 kB / 1.036 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.8134, allocations: 15.92 kB / 1.036 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.8135, allocations: 15.98 kB / 1.036 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003201/0.8138, allocations: 279.2 kB / 1.037 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8138, allocations: 0 / 1.037 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000505/0.8143, allocations: 119.7 kB / 1.037 GB, free: 1.207 MB / 0.7794 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.0001653/0.8145, allocations: 115.2 kB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.8154, allocations: 409.3 kB / 1.037 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8154, allocations: 4 kB / 1.037 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.8156, allocations: 112.8 kB / 1.037 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.8163, allocations: 65.52 kB / 1.037 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.8179, allocations: 0.8547 MB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.8183, allocations: 0.7999 MB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.8185, allocations: 42.95 kB / 1.039 GB, free: 14.74 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.8186, allocations: 27.44 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.8186, allocations: 0 / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of Templates: time 0.008303/0.8269, allocations: 3.396 MB / 1.042 GB, free: 11.35 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches