Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001718/0.001719, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.248/2.248, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 67.55 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004778/0.2745, allocations: 3.605 MB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.2779, allocations: 2.066 MB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000765/0.2786, allocations: 23.94 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.2792, allocations: 130.8 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.2798, allocations: 95.28 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2811, allocations: 451.2 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.2825, allocations: 1.245 MB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/0.2834, allocations: 0.5955 MB / 0.9578 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.2839, allocations: 450.2 kB / 0.9582 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.2844, allocations: 481.5 kB / 0.9587 GB, free: 36 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.2847, allocations: 132 kB / 0.9588 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.2849, allocations: 147.9 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.2851, allocations: 251.1 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.2856, allocations: 0.5011 MB / 0.9597 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.2867, allocations: 1.103 MB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2867, allocations: 0 / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2867, allocations: 0 / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.2867, allocations: 0 / 0.9608 GB, free: 13.91 MB / 0.7481 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.002861/0.2896, allocations: 1.375 MB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2896, allocations: 12.03 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.2899, allocations: 123.5 kB / 0.9622 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.2908, allocations: 0.587 MB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.2909, allocations: 70.38 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.291, allocations: 92.38 kB / 0.963 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2926, allocations: 0.8641 MB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2926, allocations: 192 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.2927, allocations: 43.92 kB / 0.9638 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2927, allocations: 24 kB / 0.9639 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2941, allocations: 0.6285 MB / 0.9645 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.2988, allocations: 2.995 MB / 0.9674 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.3003, allocations: 0.6866 MB / 0.9681 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/0.3009, allocations: 378.6 kB / 0.9684 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.301, allocations: 8.562 kB / 0.9684 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007501/0.3017, allocations: 343 kB / 0.9688 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 2.845e-06/0.3017, allocations: 8 kB / 0.9688 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.001783/0.3035, allocations: 0.826 MB / 0.9696 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3037, allocations: 192.5 kB / 0.9698 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.3046, allocations: 0.6801 MB / 0.9704 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.3047, allocations: 45.7 kB / 0.9705 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.305, allocations: 432.8 kB / 0.9709 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3052, allocations: 228.7 kB / 0.9711 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.3055, allocations: 150.5 kB / 0.9713 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3056, allocations: 337.9 kB / 0.9716 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.3063, allocations: 292.7 kB / 0.9719 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.3071, allocations: 482.2 kB / 0.9723 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3083, allocations: 0.6731 MB / 0.973 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3084, allocations: 0 / 0.973 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001786/0.3102, allocations: 0.8804 MB / 0.9738 GB, free: 36 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.3102, allocations: 40.34 kB / 0.9739 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3103, allocations: 8 kB / 0.9739 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3103, allocations: 8 kB / 0.9739 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.3109, allocations: 159.7 kB / 0.974 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.311, allocations: 11.98 kB / 0.974 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.3117, allocations: 139.1 kB / 0.9742 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.3117, allocations: 31.98 kB / 0.9742 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007291/0.3125, allocations: 398 kB / 0.9746 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006217/0.3131, allocations: 420.5 kB / 0.975 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008939/0.314, allocations: 0.5678 MB / 0.9755 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.314, allocations: 4.188 kB / 0.9756 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00132/0.3153, allocations: 0.7559 MB / 0.9763 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.3154, allocations: 49.62 kB / 0.9763 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3154, allocations: 4 kB / 0.9763 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.3154, allocations: 4 kB / 0.9763 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.3159, allocations: 139.8 kB / 0.9765 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.316, allocations: 12 kB / 0.9765 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.3166, allocations: 115.3 kB / 0.9766 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.3166, allocations: 35.98 kB / 0.9766 GB, free: 13.03 MB / 0.7637 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.0002248/0.3169, allocations: 228.1 kB / 0.9769 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.317, allocations: 78.97 kB / 0.9769 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3183, allocations: 0.6554 MB / 0.9776 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3184, allocations: 8 kB / 0.9776 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3184, allocations: 0 / 0.9776 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3184, allocations: 3.984 kB / 0.9776 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.321, allocations: 1.671 MB / 0.9792 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.321, allocations: 3.938 kB / 0.9792 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.3215, allocations: 131.8 kB / 0.9793 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.3216, allocations: 4 kB / 0.9793 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.3216, allocations: 20 kB / 0.9794 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.3216, allocations: 12.27 kB / 0.9794 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.3217, allocations: 7.938 kB / 0.9794 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3236, allocations: 1.081 MB / 0.9804 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.3238, allocations: 172 kB / 0.9806 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3239, allocations: 20 kB / 0.9806 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.3243, allocations: 43.95 kB / 0.9807 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.3244, allocations: 44.5 kB / 0.9807 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.3245, allocations: 20 kB / 0.9807 GB, free: 8.672 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006248/0.3251, allocations: 491 kB / 0.9812 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3251, allocations: 0 / 0.9812 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001006/0.3261, allocations: 318.7 kB / 0.9815 GB, free: 7.887 MB / 0.7637 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.000264/0.3264, allocations: 127.1 kB / 0.9816 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.3289, allocations: 1.174 MB / 0.9828 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3289, allocations: 4 kB / 0.9828 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.3295, allocations: 312.7 kB / 0.9831 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3307, allocations: 196.3 kB / 0.9833 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.3335, allocations: 1.898 MB / 0.9851 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.3342, allocations: 0.978 MB / 0.9861 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.3345, allocations: 67.42 kB / 0.9861 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of SimCode: time 6.91e-07/0.3345, allocations: 0 / 0.9861 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of Templates: time 0.01698/0.3515, allocations: 10.1 MB / 0.996 GB, free: 8.961 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches