Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 112.6 kB / 15.99 MB, free: 6.348 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.001498/0.001498, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.33/1.33, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 80.23 kB / 0.9088 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002463/0.2837, allocations: 1.117 MB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.285, allocations: 0.9948 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2852, allocations: 3.938 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2853, allocations: 15.86 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.2854, allocations: 11.92 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2857, allocations: 59.89 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2859, allocations: 180 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2861, allocations: 76.05 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2862, allocations: 71.77 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2863, allocations: 83.61 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.2863, allocations: 16 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.2864, allocations: 19.94 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2864, allocations: 43.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.2865, allocations: 75.59 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2867, allocations: 128 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2867, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2867, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2867, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008343/0.2875, allocations: 482.9 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2876, allocations: 12.03 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.2877, allocations: 20.66 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2879, allocations: 220.5 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.288, allocations: 16.38 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.288, allocations: 16.38 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.2883, allocations: 159.4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2884, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.2884, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2884, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.2887, allocations: 111.9 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2898, allocations: 0.5391 MB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.2903, allocations: 138.7 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2904, allocations: 88.69 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2905, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.2908, allocations: 124.8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.2908, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0005526/0.2914, allocations: 223.4 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2914, allocations: 55.41 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2916, allocations: 156 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2916, allocations: 33.69 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.2917, allocations: 124.4 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.2918, allocations: 59.11 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.2918, allocations: 37.7 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.292, allocations: 326.8 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2922, allocations: 71.89 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2924, allocations: 95.69 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2928, allocations: 142.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2928, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004831/0.2933, allocations: 210.1 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2933, allocations: 8.031 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2933, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2933, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2935, allocations: 43.91 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2935, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2937, allocations: 23.83 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2937, allocations: 8 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001243/0.2938, allocations: 134.9 kB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.2939, allocations: 19.8 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.2943, allocations: 194.7 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.2943, allocations: 3.984 kB / 1.071 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2943, allocations: 4 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2943, allocations: 0 / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.2952, allocations: 0.5772 MB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2952, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2954, allocations: 48.09 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.2954, allocations: 7.938 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2954, allocations: 7.938 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2954, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2954, allocations: 4 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.296, allocations: 386.4 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.2961, allocations: 100.7 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.2961, allocations: 8 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2963, allocations: 16.03 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2964, allocations: 19.97 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2964, allocations: 16 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.214e-05/0.2965, allocations: 122.3 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002596/0.2967, allocations: 28 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001507/0.2969, allocations: 111.2 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2974, allocations: 174.7 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2974, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2976, allocations: 87.83 kB / 1.072 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2979, allocations: 28.33 kB / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.2986, allocations: 464.6 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.299, allocations: 0.7282 MB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.299, allocations: 19.44 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.2991, allocations: 0 / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.003736/0.3028, allocations: 1.957 MB / 1.075 GB, free: 3.043 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches