Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009736, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 182.3 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 16 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7961, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002944/0.7991, allocations: 2.852 MB / 0.9585 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.8019, allocations: 1.67 MB / 0.9601 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.8025, allocations: 23.62 kB / 0.9602 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.8029, allocations: 116.6 kB / 0.9603 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.8032, allocations: 80.03 kB / 0.9604 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.8038, allocations: 309.8 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008081/0.8047, allocations: 0.9802 MB / 0.9616 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007777/0.8054, allocations: 0.5937 MB / 0.9622 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.8057, allocations: 246.9 kB / 0.9624 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.806, allocations: 319 kB / 0.9627 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.914e-05/0.8061, allocations: 26.31 kB / 0.9627 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.8062, allocations: 25.12 kB / 0.9628 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.8063, allocations: 137.8 kB / 0.9629 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.8065, allocations: 379 kB / 0.9633 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.8072, allocations: 0.9629 MB / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8072, allocations: 0 / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8072, allocations: 5.094 kB / 0.9642 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8072, allocations: 0 / 0.9642 GB, free: 0.9141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001853/0.8091, allocations: 1.138 MB / 0.9653 GB, free: 36 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8091, allocations: 9.219 kB / 0.9653 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.8093, allocations: 117 kB / 0.9654 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007471/0.8101, allocations: 0.5506 MB / 0.966 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.8102, allocations: 72.28 kB / 0.966 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.8103, allocations: 99.39 kB / 0.9661 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.812, allocations: 0.8978 MB / 0.967 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.812, allocations: 1.188 kB / 0.967 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.8121, allocations: 41.06 kB / 0.9671 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.8122, allocations: 30.17 kB / 0.9671 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.8136, allocations: 0.6527 MB / 0.9677 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.8188, allocations: 2.859 MB / 0.9705 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.8208, allocations: 1.338 MB / 0.9718 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.8217, allocations: 415 kB / 0.9722 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.8218, allocations: 17.3 kB / 0.9722 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009533/0.8228, allocations: 371.2 kB / 0.9726 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 3.146e-06/0.8228, allocations: 0 / 0.9726 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001951/0.8247, allocations: 0.8631 MB / 0.9734 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.8248, allocations: 163.3 kB / 0.9736 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.8257, allocations: 0.5673 MB / 0.9741 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.8258, allocations: 37.61 kB / 0.9742 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.8262, allocations: 394 kB / 0.9746 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.8265, allocations: 261.6 kB / 0.9748 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.8266, allocations: 73.17 kB / 0.9749 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003088/0.827, allocations: 382.3 kB / 0.9752 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.8276, allocations: 255.4 kB / 0.9755 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.8283, allocations: 379.5 kB / 0.9758 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.8295, allocations: 0.574 MB / 0.9764 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8295, allocations: 0 / 0.9764 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001526/0.831, allocations: 0.7366 MB / 0.9771 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.8312, allocations: 121.3 kB / 0.9772 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8312, allocations: 5.375 kB / 0.9772 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.8312, allocations: 8.031 kB / 0.9773 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.8319, allocations: 156.5 kB / 0.9774 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.8319, allocations: 4.812 kB / 0.9774 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.8324, allocations: 115.5 kB / 0.9775 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.8324, allocations: 19.72 kB / 0.9775 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.8324, allocations: 9.688 kB / 0.9775 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009611/0.8334, allocations: 0.5215 MB / 0.9781 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8334, allocations: 1.312 kB / 0.9781 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.8334, allocations: 4 kB / 0.9781 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.8339, allocations: 137.4 kB / 0.9782 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8339, allocations: 4.031 kB / 0.9782 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.8344, allocations: 93.88 kB / 0.9783 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.8345, allocations: 18.19 kB / 0.9783 GB, free: 7.324 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0005507/0.835, allocations: 297.9 kB / 0.9786 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8352, allocations: 69.72 kB / 0.9787 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.8366, allocations: 0.6784 MB / 0.9793 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.8366, allocations: 8 kB / 0.9793 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8366, allocations: 0 / 0.9793 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.8367, allocations: 7.922 kB / 0.9793 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.8397, allocations: 1.735 MB / 0.981 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.8397, allocations: 7.984 kB / 0.981 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.8403, allocations: 148 kB / 0.9812 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.8403, allocations: 7.984 kB / 0.9812 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.8404, allocations: 16 kB / 0.9812 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001147/0.8405, allocations: 7.938 kB / 0.9812 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8405, allocations: 3.938 kB / 0.9812 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.8426, allocations: 1.124 MB / 0.9823 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.8428, allocations: 160.1 kB / 0.9825 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.8429, allocations: 12 kB / 0.9825 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.8434, allocations: 63.95 kB / 0.9825 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.8435, allocations: 44.44 kB / 0.9826 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.8435, allocations: 28.17 kB / 0.9826 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000576/0.8441, allocations: 394.8 kB / 0.983 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8441, allocations: 3.938 kB / 0.983 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009037/0.845, allocations: 310.4 kB / 0.9833 GB, free: 2.434 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.000293/0.8453, allocations: 127.2 kB / 0.9834 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.8473, allocations: 0.9185 MB / 0.9843 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8473, allocations: 0 / 0.9843 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.8479, allocations: 331.6 kB / 0.9846 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.849, allocations: 134.3 kB / 0.9847 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.8524, allocations: 1.984 MB / 0.9867 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.8532, allocations: 0.9781 MB / 0.9876 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.8534, allocations: 59.42 kB / 0.9877 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/0.8534, allocations: 0 / 0.9877 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.01597/0.8694, allocations: 8.952 MB / 0.9964 GB, free: 4.867 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches