Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007904/0.007904, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001323/0.001323, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 65.31 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3988, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002378/0.4012, allocations: 0.6651 MB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.4033, allocations: 1.177 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.4034, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.4035, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.4036, allocations: 15.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.4043, allocations: 143 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.4045, allocations: 131.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4046, allocations: 8 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4048, allocations: 55.83 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.405, allocations: 55.86 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.405, allocations: 12 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.4051, allocations: 23.98 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.4051, allocations: 15.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.4052, allocations: 43.89 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.4055, allocations: 123.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4055, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4055, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4055, allocations: 0 / 1.09 GB, free: 14.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007655/0.4063, allocations: 397 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4063, allocations: 8.031 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.4064, allocations: 8.844 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.4066, allocations: 172.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.4066, allocations: 12.36 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.4067, allocations: 4.375 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.4069, allocations: 86.14 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.407, allocations: 192 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.407, allocations: 3.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.407, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4072, allocations: 35.97 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.4077, allocations: 328.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.408, allocations: 74.55 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.4081, allocations: 32.84 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4082, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.4086, allocations: 107.3 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.4086, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006314/0.4092, allocations: 185.5 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.4093, allocations: 55.41 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.4095, allocations: 121.7 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.4095, allocations: 29.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.4096, allocations: 88.14 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4097, allocations: 19.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4098, allocations: 37.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.41, allocations: 323.6 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4102, allocations: 47.97 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4104, allocations: 66.55 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.4107, allocations: 128.1 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4107, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004375/0.4111, allocations: 199.2 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.4112, allocations: 31.58 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4112, allocations: 4.094 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4112, allocations: 7.922 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.4114, allocations: 15.94 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4114, allocations: 7.938 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.4116, allocations: 27.95 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.4116, allocations: 8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001185/0.4117, allocations: 123.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.4117, allocations: 11.89 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.4118, allocations: 8.375 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4118, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4118, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4118, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.4124, allocations: 406.3 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4124, allocations: 4 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.4125, allocations: 11.98 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4125, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4125, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4125, allocations: 8 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4125, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4129, allocations: 239.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.413, allocations: 85.09 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.413, allocations: 4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.4131, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4132, allocations: 15.92 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.4132, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.4132, allocations: 99.33 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4133, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002731/0.4135, allocations: 24 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002004/0.4137, allocations: 117.6 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.4141, allocations: 179.3 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4142, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4143, allocations: 51.92 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4146, allocations: 20.03 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.4151, allocations: 170.7 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4154, allocations: 0.6886 MB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.4155, allocations: 12.59 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.4155, allocations: 11.44 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.4155, allocations: 0 / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of Templates: time 0.005351/0.4209, allocations: 1.659 MB / 1.097 GB, free: 7.984 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches