Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01147/0.01147, allocations: 105 kB / 15.74 MB, free: 5.992 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.002427/0.002427, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 140.4 MB / 1.088 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.003139/1.108, allocations: 1.036 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001641/1.11, allocations: 0.9888 MB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/1.11, allocations: 2.375 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/1.11, allocations: 20.17 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/1.11, allocations: 19.98 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/1.11, allocations: 73.3 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/1.111, allocations: 173.1 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/1.111, allocations: 75.06 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/1.111, allocations: 68.02 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/1.111, allocations: 73.83 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/1.111, allocations: 19.72 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/1.111, allocations: 15.53 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/1.111, allocations: 36.73 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/1.111, allocations: 74.09 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/1.112, allocations: 179.1 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.112, allocations: 5.344 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.112, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.112, allocations: 0.75 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000848/1.113, allocations: 469.2 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.113, allocations: 9.125 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/1.113, allocations: 26.17 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/1.113, allocations: 226.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/1.113, allocations: 10.94 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/1.113, allocations: 14.69 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/1.114, allocations: 143.1 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.114, allocations: 5.125 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/1.114, allocations: 9.797 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.114, allocations: 3.281 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/1.114, allocations: 107.7 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/1.115, allocations: 0.5209 MB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/1.116, allocations: 138.2 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.116, allocations: 85.47 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/1.116, allocations: 7.109 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/1.116, allocations: 124.7 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/1.116, allocations: 0 / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0006159/1.117, allocations: 217.5 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/1.117, allocations: 57.97 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/1.117, allocations: 164.7 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.117, allocations: 32.17 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/1.117, allocations: 114.5 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/1.117, allocations: 64.5 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/1.117, allocations: 43.34 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/1.117, allocations: 323.8 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.117, allocations: 65.19 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/1.118, allocations: 87.03 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/1.118, allocations: 154 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.118, allocations: 0 / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005141/1.119, allocations: 209.5 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.119, allocations: 6 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.119, allocations: 4.75 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.119, allocations: 1.875 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/1.119, allocations: 45.25 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.119, allocations: 1.75 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/1.119, allocations: 25.91 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/1.119, allocations: 5.828 kB / 1.094 GB, free: 1.504 MB / 0.8575 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.0001083/1.119, allocations: 134.3 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.119, allocations: 18.09 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/1.12, allocations: 197.1 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.12, allocations: 2.344 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.12, allocations: 0.9062 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.12, allocations: 1.219 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/1.121, allocations: 0.5851 MB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.121, allocations: 1.938 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.121, allocations: 41.06 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.121, allocations: 6.938 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/1.121, allocations: 4.031 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.121, allocations: 7.125 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.121, allocations: 5.688 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/1.122, allocations: 385.9 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/1.122, allocations: 91.23 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/1.122, allocations: 13.52 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.122, allocations: 11.89 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/1.122, allocations: 25.56 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.122, allocations: 11.09 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.568e-05/1.122, allocations: 122.3 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.122, allocations: 0 / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002861/1.122, allocations: 31.84 kB / 1.096 GB, free: 312 kB / 0.8575 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.0001455/1.122, allocations: 111.6 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004743/1.123, allocations: 165.4 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.123, allocations: 0.8438 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/1.123, allocations: 87.33 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/1.124, allocations: 27.08 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/1.124, allocations: 365.9 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.125, allocations: 0.7223 MB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.141e-05/1.125, allocations: 15.61 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/1.125, allocations: 18.73 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.125, allocations: 0 / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.005238/1.13, allocations: 1.822 MB / 1.099 GB, free: 14.97 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches