Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01025/0.01025, allocations: 95.61 kB / 15.73 MB, free: 6.047 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: 197.7 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.474/1.474, 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 10.1.1-maint.10.0.x/package.mo): time 2.847/2.847, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4005, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002522/0.4031, allocations: 0.6582 MB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4051, allocations: 1.179 MB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.4051, allocations: 0 / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.4052, allocations: 3.938 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.4052, allocations: 7.922 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.4059, allocations: 147.5 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.4061, allocations: 139.7 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.4062, allocations: 4 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.4063, allocations: 55.89 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4065, allocations: 59.78 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.4065, allocations: 12 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.4066, allocations: 23.98 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.4067, allocations: 15.98 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.4067, allocations: 43.83 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.407, allocations: 119.7 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.407, allocations: 0 / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.414e-06/0.407, allocations: 0 / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.407, allocations: 0 / 1.169 GB, free: 4.344 MB / 0.92 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.0006998/0.4077, allocations: 407 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4078, allocations: 8.031 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.4078, allocations: 12.89 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.408, allocations: 176.2 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.408, allocations: 12.31 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.408, allocations: 8.375 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4083, allocations: 70.2 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4083, allocations: 4.188 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4083, allocations: 3.938 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.4083, allocations: 7.984 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4085, allocations: 39.97 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.4091, allocations: 320.8 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.4093, allocations: 70.48 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4094, allocations: 32.91 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4094, allocations: 8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.4097, allocations: 103.3 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4097, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.000572/0.4103, allocations: 181.5 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4104, allocations: 51.41 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4105, allocations: 114.2 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4105, allocations: 37.7 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.4106, allocations: 96.06 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.4106, allocations: 20.22 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.4107, allocations: 41.69 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4109, allocations: 314.8 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.411, allocations: 47.97 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.4112, allocations: 82.47 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.4114, allocations: 120.1 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4115, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004162/0.4119, allocations: 203.2 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.4119, allocations: 41.69 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4119, allocations: 4.062 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.412, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4121, allocations: 19.92 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4121, allocations: 0 / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.4123, allocations: 23.97 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4123, allocations: 8 kB / 1.172 GB, free: 1.441 MB / 0.92 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.0001103/0.4124, allocations: 129.8 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.4125, allocations: 7.953 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.4125, allocations: 8.375 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4125, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4125, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4125, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.4131, allocations: 410.4 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4131, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.4131, allocations: 4 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4131, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4131, allocations: 15.94 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4131, allocations: 3.984 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4132, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.4135, allocations: 243.3 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.4136, allocations: 81.06 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4136, allocations: 0 / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.4137, allocations: 12.27 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4138, allocations: 11.94 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4138, allocations: 7.984 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.4139, allocations: 95.16 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4139, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002965/0.4142, allocations: 31.92 kB / 1.173 GB, free: 304 kB / 0.92 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.0001863/0.4144, allocations: 105.1 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.4148, allocations: 179.3 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/0.4148, allocations: 4.172 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4149, allocations: 55.91 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.4152, allocations: 14.64 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.4157, allocations: 170.6 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.416, allocations: 0.6846 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.416, allocations: 8.672 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.416, allocations: 15.44 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.4161, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.006001/0.4221, allocations: 1.658 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches