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.009038/0.009038, allocations: 99.47 kB / 15.73 MB, free: 6.449 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.001714/0.001714, allocations: 200 kB / 16.68 MB, free: 6.352 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.599/2.599, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 70.41 kB / 0.9509 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.421, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002377/0.4235, allocations: 1.051 MB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4249, allocations: 0.987 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.425, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.4252, allocations: 19.73 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.4253, allocations: 19.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.4256, allocations: 67.86 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.4258, allocations: 175.6 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.426, allocations: 78.52 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.4261, allocations: 67.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4262, allocations: 75.67 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.4262, allocations: 16 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.4262, allocations: 16 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.4263, allocations: 47.83 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.4264, allocations: 67.59 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.4266, allocations: 179.2 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.4266, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4266, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4266, allocations: 0 / 1.091 GB, free: 14.64 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.00081/0.4274, allocations: 483 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4275, allocations: 8.031 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.4275, allocations: 16.84 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.4278, allocations: 218 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4279, allocations: 16.66 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.4279, allocations: 16.31 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.4283, allocations: 144.4 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4283, allocations: 192 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.4283, allocations: 15.94 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4283, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.4286, allocations: 112.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4297, allocations: 0.5277 MB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.4301, allocations: 134.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.4302, allocations: 80.86 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.4303, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.4305, allocations: 123.3 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4306, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0005418/0.4311, allocations: 226.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.4312, allocations: 51.41 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4313, allocations: 168.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.4313, allocations: 29.7 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.4314, allocations: 112.5 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.4315, allocations: 67.38 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.4316, allocations: 41.7 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4317, allocations: 330.8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.4319, allocations: 59.97 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.4321, allocations: 94.67 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.4325, allocations: 152.4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4325, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004721/0.433, allocations: 213.4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.433, allocations: 4 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.433, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.433, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.4332, allocations: 43.97 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4333, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.4334, allocations: 31.8 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4334, allocations: 8 kB / 1.094 GB, free: 10.93 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/0.4335, allocations: 133.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.4336, allocations: 15.91 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.434, allocations: 192.6 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.434, allocations: 7.938 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.434, allocations: 0 / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.434, allocations: 0 / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.4348, allocations: 0.5789 MB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4349, allocations: 8.188 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.435, allocations: 35.97 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.435, allocations: 0 / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.4351, allocations: 8 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4351, allocations: 7.938 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4351, allocations: 3.938 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.4357, allocations: 380.5 kB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.4358, allocations: 92.95 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4358, allocations: 11.94 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.436, allocations: 16.03 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.436, allocations: 27.91 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4361, allocations: 4 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.626e-05/0.4362, allocations: 127.8 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4362, allocations: 0 / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000268/0.4364, allocations: 32 kB / 1.096 GB, free: 9.133 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.0001715/0.4366, allocations: 115.2 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.4371, allocations: 161.8 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4371, allocations: 3.938 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.4373, allocations: 91.83 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4376, allocations: 30.09 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.4383, allocations: 373.3 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.4386, allocations: 0.7205 MB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.4387, allocations: 13.42 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.4387, allocations: 19.44 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.4387, allocations: 4 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.004806/0.4435, allocations: 1.786 MB / 1.099 GB, free: 5.766 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