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.001898/0.001898, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00226/0.00226, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.95/2.95, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 75.88 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7217, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.004847/0.7266, allocations: 1.891 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.7296, allocations: 1.236 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.7302, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.7307, allocations: 55.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.731, allocations: 31.78 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.7315, allocations: 147.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.7321, allocations: 457 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.7326, allocations: 250.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.7328, allocations: 143.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.733, allocations: 178.9 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.7331, allocations: 24 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.7331, allocations: 24 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.7332, allocations: 75.69 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.7334, allocations: 182.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.7339, allocations: 0.5158 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7339, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.734, allocations: 7.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.734, allocations: 0 / 1.022 GB, free: 13.56 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.001299/0.7353, allocations: 0.7174 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7353, allocations: 8.031 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.7354, allocations: 48.38 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.7359, allocations: 344.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.7359, allocations: 29.38 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.736, allocations: 40.36 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.7367, allocations: 391.6 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.7367, allocations: 192 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.7368, allocations: 23.92 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.7368, allocations: 8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.7374, allocations: 275.8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.7398, allocations: 1.358 MB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.7407, allocations: 258.8 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.741, allocations: 112.8 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.741, allocations: 3.984 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.7411, allocations: 38.56 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.7411, allocations: 0 / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.000742/0.7418, allocations: 301.1 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.742, allocations: 106.8 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.7425, allocations: 409.5 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.7425, allocations: 29.7 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.7427, allocations: 235.9 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.7428, allocations: 82.83 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.7429, allocations: 65.7 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7431, allocations: 346.8 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.7434, allocations: 116.8 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.7438, allocations: 201.1 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.7443, allocations: 275.4 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7443, allocations: 0 / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007912/0.7451, allocations: 369.1 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7452, allocations: 7.938 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7452, allocations: 7.938 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7452, allocations: 4 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.7455, allocations: 71.89 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.7455, allocations: 4 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.7458, allocations: 51.56 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.7458, allocations: 16.03 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003375/0.7462, allocations: 204.1 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002993/0.7465, allocations: 178.6 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000399/0.7469, allocations: 220.7 kB / 1.028 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.7469, allocations: 0 / 1.028 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006481/0.7476, allocations: 332.9 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.7476, allocations: 4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7476, allocations: 3.938 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.7476, allocations: 4 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.7479, allocations: 59.91 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7479, allocations: 4 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.7481, allocations: 39.77 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.7481, allocations: 8 kB / 1.029 GB, free: 5.879 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.0001832/0.7483, allocations: 200.4 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.7484, allocations: 39.47 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.749, allocations: 255.3 kB / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7491, allocations: 0 / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7491, allocations: 0 / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7491, allocations: 4 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.7507, allocations: 0.8494 MB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7507, allocations: 0 / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.7509, allocations: 47.91 kB / 1.03 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.7509, allocations: 4.094 kB / 1.03 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.7509, allocations: 11.98 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7509, allocations: 4 kB / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.751, allocations: 8.172 kB / 1.03 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.7518, allocations: 495.1 kB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7519, allocations: 120.7 kB / 1.031 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.752, allocations: 8 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.7522, allocations: 23.97 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.7522, allocations: 19.92 kB / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.7522, allocations: 12 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003445/0.7526, allocations: 283.2 kB / 1.031 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7526, allocations: 0 / 1.031 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005201/0.7531, allocations: 119.6 kB / 1.031 GB, free: 3.254 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.000177/0.7533, allocations: 115.7 kB / 1.031 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008927/0.7542, allocations: 398.9 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7542, allocations: 3.938 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.7544, allocations: 101 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.7551, allocations: 77.44 kB / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.7567, allocations: 0.832 MB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.7571, allocations: 0.7921 MB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.7573, allocations: 42.95 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.7574, allocations: 35.36 kB / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7574, allocations: 0 / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of Templates: time 0.008546/0.766, allocations: 3.441 MB / 1.037 GB, free: 13.38 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