Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00137/0.00137, allocations: 177.3 kB / 15.94 MB, free: 228 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.223 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.396/2.396, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6235, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001717/0.6253, allocations: 1.396 MB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.6268, allocations: 1.215 MB / 0.9561 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.6271, allocations: 11.16 kB / 0.9561 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.6272, allocations: 27.66 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.6274, allocations: 59.09 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.6278, allocations: 123.9 kB / 0.9563 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.6282, allocations: 276.9 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.6285, allocations: 173.5 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.6287, allocations: 107.2 kB / 0.9568 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.6289, allocations: 130.8 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.6289, allocations: 11.16 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.545e-05/0.6289, allocations: 11.66 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.629, allocations: 60.94 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.6291, allocations: 79.33 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.6294, allocations: 432.4 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6295, allocations: 4 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6295, allocations: 0 / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.6295, allocations: 1.281 kB / 0.9575 GB, free: 4.902 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00111/0.6306, allocations: 0.6619 MB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6307, allocations: 7.969 kB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6308, allocations: 55.89 kB / 0.9582 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.6312, allocations: 323.8 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.6312, allocations: 29.47 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.6313, allocations: 42.25 kB / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.6318, allocations: 396.3 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6319, allocations: 0 / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.6319, allocations: 16.12 kB / 0.959 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6319, allocations: 9.625 kB / 0.959 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.6324, allocations: 291.8 kB / 0.9593 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.6343, allocations: 1.374 MB / 0.9606 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.6351, allocations: 279.1 kB / 0.9609 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.6352, allocations: 7.5 kB / 0.9609 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.6352, allocations: 36.33 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.6352, allocations: 0 / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.000704/0.6359, allocations: 333.6 kB / 0.9613 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.636, allocations: 105.8 kB / 0.9614 GB, free: 2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.6364, allocations: 399.3 kB / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.6364, allocations: 31.3 kB / 0.9618 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6366, allocations: 239.5 kB / 0.962 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.6366, allocations: 80.5 kB / 0.9621 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.6366, allocations: 5.312 kB / 0.9621 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.6367, allocations: 346 kB / 0.9624 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.637, allocations: 120.2 kB / 0.9625 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.6373, allocations: 202.9 kB / 0.9627 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.6376, allocations: 141.4 kB / 0.9629 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6376, allocations: 4 kB / 0.9629 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007196/0.6383, allocations: 379.5 kB / 0.9632 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.6385, allocations: 0.6185 MB / 0.9638 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6385, allocations: 5.125 kB / 0.9638 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6385, allocations: 3.5 kB / 0.9638 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.6389, allocations: 78.47 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6389, allocations: 6.953 kB / 0.9639 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.6391, allocations: 56.14 kB / 0.964 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.6392, allocations: 19.48 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.6392, allocations: 4.219 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004793/0.6397, allocations: 259.2 kB / 0.9642 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6397, allocations: 1.219 kB / 0.9642 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.6397, allocations: 3.625 kB / 0.9642 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.64, allocations: 68.34 kB / 0.9643 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.64, allocations: 3.531 kB / 0.9643 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6402, allocations: 50.02 kB / 0.9644 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.6402, allocations: 15.88 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002255/0.6404, allocations: 237.9 kB / 0.9646 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.6405, allocations: 31.59 kB / 0.9646 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.6411, allocations: 270.6 kB / 0.9649 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6411, allocations: 3.844 kB / 0.9649 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6411, allocations: 0 / 0.9649 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6411, allocations: 0 / 0.9649 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.6425, allocations: 0.8711 MB / 0.9657 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6425, allocations: 6.812 kB / 0.9658 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6427, allocations: 50.41 kB / 0.9658 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6427, allocations: 7 kB / 0.9658 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.6428, allocations: 12.52 kB / 0.9658 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6428, allocations: 7.172 kB / 0.9658 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6428, allocations: 2.312 kB / 0.9658 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.6436, allocations: 0.588 MB / 0.9664 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.6437, allocations: 119.7 kB / 0.9665 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.6438, allocations: 4.031 kB / 0.9665 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.644, allocations: 24.83 kB / 0.9665 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.644, allocations: 31.73 kB / 0.9666 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.6441, allocations: 6.406 kB / 0.9666 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000307/0.6444, allocations: 278.3 kB / 0.9668 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6444, allocations: 0 / 0.9668 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005187/0.6449, allocations: 129.7 kB / 0.967 GB, free: 13.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001502/0.6451, allocations: 114.5 kB / 0.9671 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.6459, allocations: 408.3 kB / 0.9675 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6459, allocations: 1 kB / 0.9675 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.6462, allocations: 107.4 kB / 0.9676 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.6466, allocations: 71.02 kB / 0.9676 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.648, allocations: 0.7991 MB / 0.9684 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.6483, allocations: 0.8011 MB / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.6485, allocations: 46.61 kB / 0.9692 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.6486, allocations: 36.17 kB / 0.9693 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6486, allocations: 0 / 0.9693 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.006918/0.6555, allocations: 3.27 MB / 0.9725 GB, free: 10.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches