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.001332/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001577/0.001577, allocations: 191 kB / 16.25 MB, free: 6.633 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.568/2.568, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 75.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9047/0.9062, allocations: 140.3 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001888/0.9082, allocations: 0.7149 MB / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.9094, allocations: 1.17 MB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.9095, allocations: 0 / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.9095, allocations: 0 / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.9096, allocations: 6.156 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.9101, allocations: 141.9 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.9102, allocations: 129.9 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.9103, allocations: 11.83 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.9104, allocations: 55.08 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.9105, allocations: 48.41 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.9105, allocations: 11.81 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.9106, allocations: 21.89 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.9106, allocations: 18.73 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.9107, allocations: 49.48 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.9109, allocations: 113 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9109, allocations: 1.125 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9109, allocations: 0 / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9109, allocations: 0 / 0.9515 GB, free: 7.246 MB / 0.7169 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.0005498/0.9115, allocations: 413 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9115, allocations: 9.719 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.9116, allocations: 9.812 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.9117, allocations: 174.4 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.9117, allocations: 8.016 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.9118, allocations: 6.406 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.912, allocations: 73.61 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.912, allocations: 8.062 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.912, allocations: 5.25 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.912, allocations: 4 kB / 0.9522 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.9122, allocations: 45.16 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.9126, allocations: 320.3 kB / 0.9526 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.9128, allocations: 70.8 kB / 0.9526 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.9129, allocations: 36.25 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.9129, allocations: 7.938 kB / 0.9527 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.9132, allocations: 109.8 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.9132, allocations: 0 / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004808/0.9137, allocations: 175.3 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.9137, allocations: 57.91 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.9138, allocations: 117 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.9138, allocations: 32.33 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.9139, allocations: 87.45 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.9139, allocations: 15.42 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.914, allocations: 37.05 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.914, allocations: 320.9 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.9142, allocations: 50.22 kB / 0.9536 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.9143, allocations: 76.14 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.9145, allocations: 117.2 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9145, allocations: 0 / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004208/0.915, allocations: 202.8 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.915, allocations: 36.8 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.915, allocations: 7.984 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9151, allocations: 1.531 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9152, allocations: 13.06 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9152, allocations: 1.062 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.9154, allocations: 42.8 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.9154, allocations: 5.469 kB / 0.9541 GB, free: 4.867 MB / 0.7169 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 8.219e-05/0.9155, allocations: 128.3 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.9155, allocations: 4.156 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.9156, allocations: 12.31 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.9156, allocations: 1.156 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9156, allocations: 1.531 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9156, allocations: 0 / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.916, allocations: 402.1 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.916, allocations: 3.984 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.9161, allocations: 8.219 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9161, allocations: 1.125 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.9161, allocations: 1.312 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9161, allocations: 0 / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9161, allocations: 1.5 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.9164, allocations: 245.1 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.9165, allocations: 83.27 kB / 0.955 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.9165, allocations: 9.031 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.9166, allocations: 14.67 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.9166, allocations: 4.125 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.9167, allocations: 4 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.9167, allocations: 98.33 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9167, allocations: 0 / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002571/0.917, allocations: 26.88 kB / 0.9551 GB, free: 3.941 MB / 0.7169 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.0001557/0.9171, allocations: 112.2 kB / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.9175, allocations: 190.9 kB / 0.9554 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.9175, allocations: 0 / 0.9554 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.9176, allocations: 51.97 kB / 0.9554 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.9179, allocations: 15.48 kB / 0.9555 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.9183, allocations: 186.3 kB / 0.9556 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.9184, allocations: 0.6932 MB / 0.9563 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.9184, allocations: 4.609 kB / 0.9563 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.9185, allocations: 11.34 kB / 0.9563 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.9185, allocations: 0 / 0.9563 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.004244/0.9227, allocations: 1.64 MB / 0.9579 GB, free: 1.969 MB / 0.7169 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