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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001056/0.001056, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.000948/0.000948, allocations: 168.7 kB / 15.95 MB, free: 204 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7762, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002705/0.7789, allocations: 1.379 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.7814, allocations: 1.221 MB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.7816, allocations: 4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.7819, allocations: 59.39 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.782, allocations: 31.78 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.7825, allocations: 107.5 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.7829, allocations: 429.2 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.7833, allocations: 174.7 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.7835, allocations: 111.4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.7837, allocations: 135.1 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.7837, allocations: 8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.7837, allocations: 12 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.7838, allocations: 63.69 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.7839, allocations: 81.52 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.7844, allocations: 424.8 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.7844, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7844, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.7844, allocations: 0 / 1.027 GB, free: 11.8 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.001382/0.7858, allocations: 0.6706 MB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.7859, allocations: 8.562 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.786, allocations: 51.42 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.7865, allocations: 319.3 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.7866, allocations: 29 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.7866, allocations: 43.91 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.7874, allocations: 398.9 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.7874, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.7875, allocations: 16 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.7875, allocations: 12 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.7881, allocations: 295.8 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.7904, allocations: 1.367 MB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.7912, allocations: 287.3 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.7914, allocations: 121.2 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.7915, allocations: 4.188 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.7915, allocations: 46.67 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.7915, allocations: 0 / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0007074/0.7922, allocations: 323.7 kB / 1.03 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.7923, allocations: 110.8 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.7928, allocations: 397.6 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.7928, allocations: 29.7 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.793, allocations: 235.9 kB / 1.031 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.7931, allocations: 86.83 kB / 1.031 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.7931, allocations: 4 kB / 1.031 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7932, allocations: 350.8 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.7935, allocations: 116 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.7939, allocations: 217 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.7942, allocations: 134 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7942, allocations: 4 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000743/0.7949, allocations: 385 kB / 1.032 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.795, allocations: 134.2 kB / 1.032 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7951, allocations: 3.984 kB / 1.032 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7951, allocations: 4 kB / 1.032 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.7954, allocations: 75.89 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7954, allocations: 4 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.7956, allocations: 67.56 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.7957, allocations: 11.95 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.7957, allocations: 4 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004856/0.7962, allocations: 261.3 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7962, allocations: 160 / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.7962, allocations: 15.89 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.7965, allocations: 59.91 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7965, allocations: 4 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.7966, allocations: 43.67 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.7967, allocations: 8 kB / 1.033 GB, free: 4.844 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.7969, allocations: 237 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.797, allocations: 39.53 kB / 1.033 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.7975, allocations: 268.9 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7975, allocations: 7.891 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7975, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7975, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.7989, allocations: 0.8674 MB / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.799, allocations: 0 / 1.034 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.7992, allocations: 51.91 kB / 1.034 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.7992, allocations: 4 kB / 1.034 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.7992, allocations: 11.98 kB / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.7992, allocations: 4 kB / 1.034 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7992, allocations: 3.938 kB / 1.034 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.8, allocations: 0.5033 MB / 1.035 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8001, allocations: 120.7 kB / 1.035 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.8001, allocations: 8 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.8003, allocations: 27.97 kB / 1.035 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.8004, allocations: 19.94 kB / 1.035 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.8004, allocations: 12 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003186/0.8007, allocations: 283.2 kB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8007, allocations: 0 / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004803/0.8012, allocations: 123.5 kB / 1.036 GB, free: 2.113 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 (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.0002013/0.8014, allocations: 115.2 kB / 1.036 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.8023, allocations: 413.4 kB / 1.036 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8023, allocations: 4 kB / 1.036 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.8025, allocations: 99.83 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.8031, allocations: 76.33 kB / 1.036 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.8045, allocations: 0.8092 MB / 1.037 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.8049, allocations: 0.7921 MB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.8051, allocations: 47.08 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.8052, allocations: 35.36 kB / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.8052, allocations: 3.938 kB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of Templates: time 0.007192/0.8124, allocations: 3.276 MB / 1.041 GB, free: 12.4 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=480 -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