Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008681, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005521/0.005521, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.579/1.579, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.887/2.887, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 12 kB / 0.8729 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8351, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002433/0.8376, allocations: 1.486 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.8397, allocations: 1.232 MB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.84, allocations: 11.94 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.8402, allocations: 47.52 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.8404, allocations: 43.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.8408, allocations: 143.8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.8413, allocations: 457 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.8417, allocations: 238.3 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.8419, allocations: 115.3 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.8421, allocations: 143 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.8422, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.634e-05/0.8422, allocations: 16 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.8423, allocations: 71.56 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.8426, allocations: 172.6 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.8432, allocations: 0.4883 MB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8432, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8432, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8432, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 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.001294/0.8445, allocations: 0.6668 MB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8445, allocations: 8.031 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.8446, allocations: 52.38 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.8451, allocations: 340.3 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.8452, allocations: 33.31 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.8453, allocations: 40.36 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.846, allocations: 403.5 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.846, allocations: 192 / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.8461, allocations: 19.94 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.8461, allocations: 8 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.8467, allocations: 291.8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.8491, allocations: 1.37 MB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.85, allocations: 278.6 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.8503, allocations: 125.7 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.8503, allocations: 0 / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.8504, allocations: 42.56 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.8504, allocations: 0 / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0008254/0.8512, allocations: 339.9 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8513, allocations: 106.8 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.8519, allocations: 397.6 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.8519, allocations: 33.7 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.8522, allocations: 239.8 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.8522, allocations: 70.95 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.8523, allocations: 33.7 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.8525, allocations: 346.8 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.8528, allocations: 119.9 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.8532, allocations: 213.1 kB / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.8538, allocations: 291.7 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8538, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008505/0.8547, allocations: 384.9 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.8548, allocations: 143.5 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8548, allocations: 3.984 kB / 1.034 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.8549, allocations: 4 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.8552, allocations: 83.89 kB / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8552, allocations: 0 / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.8555, allocations: 59.56 kB / 1.034 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.8556, allocations: 16 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.8556, allocations: 4 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005294/0.8561, allocations: 263.3 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8561, allocations: 7.922 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.8561, allocations: 4 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.8564, allocations: 63.86 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8564, allocations: 4 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.8566, allocations: 47.61 kB / 1.034 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.8566, allocations: 15.98 kB / 1.034 GB, free: 3.957 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.8569, allocations: 230.5 kB / 1.035 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.857, allocations: 35.53 kB / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.8576, allocations: 265 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.8576, allocations: 4 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.8576, allocations: 7.922 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8576, allocations: 3.984 kB / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.8592, allocations: 0.8677 MB / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8592, allocations: 0 / 1.036 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.8594, allocations: 51.91 kB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8594, allocations: 4 kB / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.8595, allocations: 12.25 kB / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8595, allocations: 4 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8595, allocations: 4 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.8604, allocations: 0.5115 MB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.8605, allocations: 124.6 kB / 1.036 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.8605, allocations: 7.938 kB / 1.036 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.8608, allocations: 31.98 kB / 1.036 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.8608, allocations: 23.86 kB / 1.036 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8608, allocations: 4 kB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003424/0.8612, allocations: 287.2 kB / 1.037 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8612, allocations: 0 / 1.037 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000487/0.8617, allocations: 119.7 kB / 1.037 GB, free: 1.223 MB / 0.7794 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 (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.0002079/0.8619, allocations: 111.7 kB / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009328/0.8628, allocations: 413.5 kB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8628, allocations: 0 / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.8631, allocations: 109 kB / 1.037 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.8638, allocations: 77.45 kB / 1.037 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.8653, allocations: 0.8446 MB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.8657, allocations: 0.7921 MB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.8659, allocations: 42.95 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.866, allocations: 35.42 kB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.866, allocations: 0 / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of Templates: time 0.008221/0.8742, allocations: 3.405 MB / 1.042 GB, free: 11.36 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches