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.008211/0.008211, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001401/0.001401, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.713/2.713, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 61.47 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4191, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002622/0.4217, allocations: 1.039 MB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.4233, allocations: 0.9869 MB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4235, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.4236, allocations: 23.73 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.4237, allocations: 19.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.424, allocations: 67.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4242, allocations: 179.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4244, allocations: 75.75 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.4246, allocations: 67.77 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4247, allocations: 75.67 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.4247, allocations: 16 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.4247, allocations: 12 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.4248, allocations: 47.78 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.4249, allocations: 71.59 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.4251, allocations: 175.3 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4251, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4251, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4251, allocations: 0 / 1.091 GB, free: 14.58 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.0008527/0.426, allocations: 471.2 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.426, allocations: 11.97 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4261, allocations: 16.75 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.4264, allocations: 224 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4265, allocations: 12.66 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.4265, allocations: 20.31 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.4268, allocations: 140.4 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4269, allocations: 4.125 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4269, allocations: 15.94 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4269, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.4272, allocations: 104.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.4283, allocations: 0.5276 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.4287, allocations: 138.7 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4289, allocations: 80.83 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.4289, allocations: 7.891 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.4292, allocations: 124.5 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.4292, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005783/0.4298, allocations: 227.6 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4298, allocations: 51.41 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.43, allocations: 166.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.43, allocations: 29.7 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4301, allocations: 108.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.4301, allocations: 63.09 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.4302, allocations: 45.64 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4304, allocations: 322.8 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.4306, allocations: 67.95 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4308, allocations: 91.09 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4311, allocations: 146.7 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4311, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004564/0.4316, allocations: 212.2 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4316, allocations: 7.984 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4316, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4316, allocations: 4 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4318, allocations: 39.92 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.4318, allocations: 4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.432, allocations: 27.81 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.432, allocations: 4 kB / 1.094 GB, free: 10.89 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.0001165/0.4321, allocations: 141.7 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.4322, allocations: 15.81 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.4326, allocations: 190.7 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4326, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4326, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4326, allocations: 0 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.4334, allocations: 0.5811 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4334, allocations: 192 / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.4336, allocations: 43.92 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4337, allocations: 0 / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4337, allocations: 4 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4337, allocations: 11.92 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4337, allocations: 3.984 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.4343, allocations: 382.5 kB / 1.095 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.4344, allocations: 96.86 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4344, allocations: 11.94 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4345, allocations: 20.02 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.4346, allocations: 19.92 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.4347, allocations: 15.98 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.4347, allocations: 119.6 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4347, allocations: 0 / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002721/0.435, allocations: 32 kB / 1.096 GB, free: 9.082 MB / 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.0001845/0.4352, allocations: 123.3 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.4356, allocations: 155.8 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4357, allocations: 0 / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.4358, allocations: 91.83 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.4362, allocations: 40.3 kB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.4369, allocations: 358 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4373, allocations: 0.7205 MB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.019e-05/0.4374, allocations: 17.42 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.4374, allocations: 19.42 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.4374, allocations: 4 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of Templates: time 0.005094/0.4425, allocations: 1.76 MB / 1.099 GB, free: 5.738 MB / 0.8575 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