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.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.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.0008246/0.0008246, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0008534/0.0008534, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.379 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.521/2.521, allocations: 390.9 MB / 0.666 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003699, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8994/0.8998, allocations: 142.4 MB / 0.9545 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003368/0.9032, allocations: 2.871 MB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.9067, allocations: 2.044 MB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007558/0.9075, allocations: 22.06 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.9078, allocations: 123.7 kB / 0.9594 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.9081, allocations: 96.22 kB / 0.9595 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.9091, allocations: 342.4 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.9101, allocations: 1.065 MB / 0.9609 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.9107, allocations: 418.1 kB / 0.9613 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.911, allocations: 279.7 kB / 0.9615 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.9113, allocations: 335.5 kB / 0.9618 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.9114, allocations: 31.06 kB / 0.9619 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.9116, allocations: 44.58 kB / 0.9619 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.9117, allocations: 137.6 kB / 0.962 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.9118, allocations: 168.6 kB / 0.9622 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.9126, allocations: 1.05 MB / 0.9632 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.9126, allocations: 1.188 kB / 0.9632 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9126, allocations: 0 / 0.9632 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.9126, allocations: 4 kB / 0.9632 GB, free: 0.8711 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002072/0.9147, allocations: 1.229 MB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9147, allocations: 12.31 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.915, allocations: 118 kB / 0.9646 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.9158, allocations: 0.5668 MB / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.9159, allocations: 75.75 kB / 0.9652 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.9161, allocations: 94.7 kB / 0.9653 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.9177, allocations: 0.8687 MB / 0.9661 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.9178, allocations: 0 / 0.9661 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.9179, allocations: 40.52 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.9179, allocations: 21.47 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.9193, allocations: 0.6731 MB / 0.9668 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.9241, allocations: 3.026 MB / 0.9698 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.9256, allocations: 0.7506 MB / 0.9705 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.9263, allocations: 398.7 kB / 0.9709 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.9264, allocations: 13.17 kB / 0.9709 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/0.9271, allocations: 366.5 kB / 0.9713 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 1.563e-05/0.9271, allocations: 7.984 kB / 0.9713 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001948/0.9291, allocations: 0.8893 MB / 0.9721 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9292, allocations: 196.4 kB / 0.9723 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9302, allocations: 0.671 MB / 0.973 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.9303, allocations: 39.3 kB / 0.973 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.9307, allocations: 429.4 kB / 0.9734 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.9309, allocations: 231.5 kB / 0.9737 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.931, allocations: 16.84 kB / 0.9737 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9311, allocations: 339.9 kB / 0.974 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.9318, allocations: 304.4 kB / 0.9743 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.9326, allocations: 499.8 kB / 0.9748 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.9334, allocations: 369 kB / 0.9751 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9334, allocations: 1.656 kB / 0.9751 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001906/0.9353, allocations: 0.9077 MB / 0.976 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.9355, allocations: 211.9 kB / 0.9762 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9356, allocations: 2.438 kB / 0.9762 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.9356, allocations: 6.125 kB / 0.9762 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.9363, allocations: 174.7 kB / 0.9764 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.9363, allocations: 14.86 kB / 0.9764 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.9371, allocations: 176.6 kB / 0.9766 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.9372, allocations: 30.53 kB / 0.9766 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.9372, allocations: 4.062 kB / 0.9766 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/0.9384, allocations: 0.6731 MB / 0.9773 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9384, allocations: 2.625 kB / 0.9773 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.9384, allocations: 7.25 kB / 0.9773 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.9389, allocations: 138.6 kB / 0.9774 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.9389, allocations: 6.844 kB / 0.9774 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.9395, allocations: 130.8 kB / 0.9775 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.9396, allocations: 34.36 kB / 0.9776 GB, free: 7.344 MB / 0.7325 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.9401, allocations: 310.5 kB / 0.9779 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9402, allocations: 76.72 kB / 0.9779 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.9415, allocations: 0.6944 MB / 0.9786 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.9415, allocations: 12 kB / 0.9786 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.9416, allocations: 3.938 kB / 0.9786 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.9416, allocations: 3.984 kB / 0.9786 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.9442, allocations: 1.706 MB / 0.9803 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.9442, allocations: 0 / 0.9803 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.9447, allocations: 147.7 kB / 0.9804 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.9447, allocations: 4.281 kB / 0.9804 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.9448, allocations: 20 kB / 0.9805 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.9448, allocations: 7.984 kB / 0.9805 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9448, allocations: 7.953 kB / 0.9805 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.9467, allocations: 1.14 MB / 0.9816 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.9469, allocations: 172.1 kB / 0.9817 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.947, allocations: 16 kB / 0.9818 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.9473, allocations: 63.95 kB / 0.9818 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9474, allocations: 52.39 kB / 0.9819 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.9475, allocations: 20 kB / 0.9819 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006529/0.9481, allocations: 475 kB / 0.9823 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9482, allocations: 4 kB / 0.9824 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001063/0.9492, allocations: 322.7 kB / 0.9827 GB, free: 1.996 MB / 0.7325 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 (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.0003141/0.9495, allocations: 131.1 kB / 0.9828 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.9518, allocations: 1.175 MB / 0.9839 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.9518, allocations: 0 / 0.9839 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.9523, allocations: 327.7 kB / 0.9842 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.9532, allocations: 173.4 kB / 0.9844 GB, free: 176 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.9561, allocations: 1.794 MB / 0.9862 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.9567, allocations: 0.9745 MB / 0.9871 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004058/0.9571, allocations: 109.9 kB / 0.9872 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.9573, allocations: 63.36 kB / 0.9873 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/0.9573, allocations: 0 / 0.9873 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.01775/0.975, allocations: 8.79 MB / 0.9959 GB, free: 4.445 MB / 0.7481 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/jenkins/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