Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.4 kB / 16.27 MB, free: 6.355 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.001668/0.001668, allocations: 195.3 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.47 kB / 0.9088 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2944, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004914/0.2993, allocations: 3.616 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.3027, allocations: 2.128 MB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.3036, allocations: 23.94 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.3042, allocations: 174.1 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007074/0.305, allocations: 146.6 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3064, allocations: 0.4904 MB / 1.071 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.3079, allocations: 1.256 MB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.3088, allocations: 0.5915 MB / 1.072 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.3094, allocations: 446.3 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.3098, allocations: 485.5 kB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.31, allocations: 128 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3102, allocations: 140 kB / 1.074 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3103, allocations: 251.1 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.3107, allocations: 0.5128 MB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3118, allocations: 1.367 MB / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3118, allocations: 0 / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3118, allocations: 0 / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.3119, allocations: 4 kB / 1.076 GB, free: 3.195 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002332/0.3142, allocations: 1.36 MB / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3143, allocations: 12.03 kB / 1.077 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3145, allocations: 119.5 kB / 1.077 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.3152, allocations: 0.5947 MB / 1.078 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.3153, allocations: 70.38 kB / 1.078 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3154, allocations: 100.3 kB / 1.078 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5753/0.8907, allocations: 0.8609 MB / 1.079 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.8908, allocations: 7.281 kB / 1.079 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.891, allocations: 36.66 kB / 1.079 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.891, allocations: 20.88 kB / 1.079 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.8927, allocations: 0.6329 MB / 1.079 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.8974, allocations: 2.99 MB / 1.082 GB, free: 20.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.8989, allocations: 0.6847 MB / 1.083 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.8995, allocations: 377.8 kB / 1.083 GB, free: 20.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.8996, allocations: 9.828 kB / 1.083 GB, free: 20.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007641/0.9004, allocations: 347.1 kB / 1.084 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.417e-06/0.9004, allocations: 0 / 1.084 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001893/0.9023, allocations: 0.8336 MB / 1.085 GB, free: 19.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.9024, allocations: 193 kB / 1.085 GB, free: 19.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009359/0.9033, allocations: 0.6779 MB / 1.085 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.9034, allocations: 43.95 kB / 1.085 GB, free: 19.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.9037, allocations: 434.5 kB / 1.086 GB, free: 18.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.9039, allocations: 227.5 kB / 1.086 GB, free: 18.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.9041, allocations: 146.4 kB / 1.086 GB, free: 18.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.9042, allocations: 337.3 kB / 1.086 GB, free: 18.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.9049, allocations: 293.7 kB / 1.087 GB, free: 18.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.9057, allocations: 486.2 kB / 1.087 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9069, allocations: 0.6694 MB / 1.088 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.907, allocations: 1.156 kB / 1.088 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001875/0.9088, allocations: 0.8785 MB / 1.089 GB, free: 17.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.9089, allocations: 40.69 kB / 1.089 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9089, allocations: 8.406 kB / 1.089 GB, free: 17.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.9089, allocations: 6.625 kB / 1.089 GB, free: 17.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.9096, allocations: 166.1 kB / 1.089 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.9096, allocations: 10.61 kB / 1.089 GB, free: 17.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.9104, allocations: 140 kB / 1.089 GB, free: 17.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.9104, allocations: 34.77 kB / 1.089 GB, free: 17.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006629/0.9111, allocations: 391 kB / 1.09 GB, free: 16.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005175/0.9116, allocations: 422.7 kB / 1.09 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008172/0.9125, allocations: 0.5739 MB / 1.09 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.978e-06/0.9125, allocations: 1.75 kB / 1.09 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001422/0.9139, allocations: 0.7587 MB / 1.091 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.9139, allocations: 40.61 kB / 1.091 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.914, allocations: 2.625 kB / 1.091 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.914, allocations: 7 kB / 1.091 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.9145, allocations: 135.3 kB / 1.091 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.9146, allocations: 14.8 kB / 1.091 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.9152, allocations: 119.1 kB / 1.092 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.9152, allocations: 31.7 kB / 1.092 GB, free: 15.74 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002139/0.9155, allocations: 224.7 kB / 1.092 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.9156, allocations: 76.72 kB / 1.092 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.917, allocations: 0.6588 MB / 1.092 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.917, allocations: 7.906 kB / 1.092 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.917, allocations: 7.438 kB / 1.092 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.917, allocations: 3.375 kB / 1.092 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.9196, allocations: 1.66 MB / 1.094 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.9197, allocations: 2.953 kB / 1.094 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.9202, allocations: 134.9 kB / 1.094 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.9202, allocations: 4.188 kB / 1.094 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.9203, allocations: 17.34 kB / 1.094 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.9203, allocations: 9.031 kB / 1.094 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.9203, allocations: 6.781 kB / 1.094 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9222, allocations: 1.083 MB / 1.095 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.9223, allocations: 175.1 kB / 1.096 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.9224, allocations: 20.88 kB / 1.096 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.9228, allocations: 43.83 kB / 1.096 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.9229, allocations: 52 kB / 1.096 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.9229, allocations: 23.38 kB / 1.096 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006043/0.9235, allocations: 478.2 kB / 1.096 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9235, allocations: 3.938 kB / 1.096 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001003/0.9245, allocations: 319.2 kB / 1.096 GB, free: 13.22 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002206/0.9248, allocations: 140.4 kB / 1.097 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.9271, allocations: 1.172 MB / 1.098 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9272, allocations: 0.5938 kB / 1.098 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.9277, allocations: 321.2 kB / 1.098 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.9287, allocations: 184.6 kB / 1.098 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.9312, allocations: 1.543 MB / 1.1 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.9317, allocations: 0.9767 MB / 1.101 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.932, allocations: 73.33 kB / 1.101 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.932, allocations: 1.375 kB / 1.101 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.01968/0.9516, allocations: 10.1 MB / 1.111 GB, free: 9.742 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches