Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 180.1 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000868/0.0008681, allocations: 94.52 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.666e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2422, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7706/1.013, allocations: 134.2 MB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.013, allocations: 85.38 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/1.033, allocations: 7.912 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.033, allocations: 0 / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.663e-05/1.033, allocations: 8 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009118/1.034, allocations: 0.6381 MB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.034, allocations: 8.031 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/1.034, allocations: 51.44 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/1.035, allocations: 398.1 kB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.035, allocations: 8 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/1.035, allocations: 27.19 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003702/1.035, allocations: 210.5 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/1.036, allocations: 307.5 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.036, allocations: 4 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.036, allocations: 4 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.036, allocations: 8 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/1.038, allocations: 1.335 MB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/1.038, allocations: 264 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/1.038, allocations: 109.7 kB / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/1.038, allocations: 4 kB / 1.027 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.038, allocations: 37.38 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/1.038, allocations: 3.938 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0003916/1.039, allocations: 209.8 kB / 1.028 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.039, allocations: 106.8 kB / 1.028 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/1.039, allocations: 278.7 kB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/1.039, allocations: 29.7 kB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.039, allocations: 244.2 kB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/1.039, allocations: 81.06 kB / 1.028 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/1.039, allocations: 0 / 1.028 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.04, allocations: 344.3 kB / 1.029 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/1.04, allocations: 83.42 kB / 1.029 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/1.04, allocations: 151.5 kB / 1.029 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/1.04, allocations: 92.48 kB / 1.029 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.04, allocations: 4 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003902/1.04, allocations: 281.8 kB / 1.029 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.041, allocations: 447.9 kB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.041, allocations: 11.94 kB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.041, allocations: 4 kB / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/1.041, allocations: 71.39 kB / 1.03 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.041, allocations: 3.938 kB / 1.03 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.041, allocations: 39.77 kB / 1.03 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/1.041, allocations: 15.98 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/1.041, allocations: 4 kB / 1.03 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003005/1.042, allocations: 194.8 kB / 1.03 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/1.042, allocations: 0 / 1.03 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/1.042, allocations: 4 kB / 1.03 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.042, allocations: 54.55 kB / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/1.042, allocations: 0 / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/1.042, allocations: 31.83 kB / 1.03 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.042, allocations: 11.44 kB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001038/1.042, allocations: 112.9 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/1.042, allocations: 31.62 kB / 1.03 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/1.042, allocations: 35.28 kB / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.042, allocations: 4 kB / 1.03 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.042, allocations: 4 kB / 1.03 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.042, allocations: 3.984 kB / 1.03 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.043, allocations: 0.7688 MB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.043, allocations: 288 / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/1.044, allocations: 63.34 kB / 1.031 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.044, allocations: 4 kB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.044, allocations: 7.984 kB / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.044, allocations: 11.89 kB / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.044, allocations: 0 / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/1.044, allocations: 0.5733 MB / 1.032 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/1.044, allocations: 116.3 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/1.045, allocations: 7.375 kB / 1.032 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/1.045, allocations: 27.97 kB / 1.032 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/1.045, allocations: 19.88 kB / 1.032 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/1.045, allocations: 15.67 kB / 1.032 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002112/1.045, allocations: 220.8 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.803e-06/1.045, allocations: 4 kB / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004483/1.045, allocations: 119.4 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002062/1.046, allocations: 112.8 kB / 1.032 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004958/1.046, allocations: 325.6 kB / 1.033 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.046, allocations: 0 / 1.033 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/1.046, allocations: 92.06 kB / 1.033 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/1.047, allocations: 87.25 kB / 1.033 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.048, allocations: 0.555 MB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/1.048, allocations: 0.8233 MB / 1.034 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002344/1.049, allocations: 55.25 kB / 1.034 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/1.049, allocations: 27.44 kB / 1.034 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/1.049, allocations: 0 / 1.034 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of Templates: time 0.007195/1.056, allocations: 3.546 MB / 1.038 GB, free: 156 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches