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.001625/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002077/0.002077, allocations: 195.1 kB / 16.14 MB, free: 6.695 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 / 239.8 MB, free: 4.598 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.58/2.58, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8031, allocations: 140.4 MB / 0.9489 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001984/0.8052, allocations: 0.7154 MB / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.8068, allocations: 1.177 MB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.8068, allocations: 0 / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.8069, allocations: 3.938 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.807, allocations: 14.48 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.8075, allocations: 131.3 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.8076, allocations: 115.2 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.8077, allocations: 8.391 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.8078, allocations: 42.09 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.8079, allocations: 48.86 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.808, allocations: 6.812 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.808, allocations: 21.58 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.8081, allocations: 10.55 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.8082, allocations: 39.97 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.8084, allocations: 118.1 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8084, allocations: 0 / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8084, allocations: 0 / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8084, allocations: 0 / 0.9513 GB, free: 7.312 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.0006463/0.809, allocations: 407.6 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8091, allocations: 8.469 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.8091, allocations: 6.781 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8093, allocations: 182.7 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.8093, allocations: 7.625 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.8093, allocations: 6.375 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.8095, allocations: 73.92 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.8096, allocations: 192 / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.8096, allocations: 5.281 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8096, allocations: 0 / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.8097, allocations: 37.03 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.8102, allocations: 332.3 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.8104, allocations: 70.7 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.8105, allocations: 36.02 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.8106, allocations: 1.062 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.8108, allocations: 108.9 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.8109, allocations: 4 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000513/0.8114, allocations: 183.4 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8114, allocations: 53.66 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.8115, allocations: 117.6 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.8115, allocations: 27.86 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.8116, allocations: 86.98 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.8116, allocations: 23.81 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.8117, allocations: 40.67 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.8118, allocations: 321 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8119, allocations: 46.44 kB / 0.9534 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.8121, allocations: 71.08 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.8123, allocations: 128.5 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8123, allocations: 1.031 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003835/0.8127, allocations: 194.8 kB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.8128, allocations: 41.12 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8128, allocations: 0 / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8128, allocations: 1.75 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.8129, allocations: 13.66 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.8129, allocations: 1.375 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.8131, allocations: 45.14 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.8132, allocations: 5.531 kB / 0.9539 GB, free: 4.938 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.273e-05/0.8133, allocations: 129.9 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.8133, allocations: 3.031 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.8133, allocations: 5.812 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8133, allocations: 1.156 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8133, allocations: 2.469 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8133, allocations: 4 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.8138, allocations: 409.5 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8138, allocations: 1.281 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.8138, allocations: 7.562 kB / 0.9544 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8139, allocations: 3.938 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.8139, allocations: 2.625 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8139, allocations: 3.938 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8139, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.8142, allocations: 249.8 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.8143, allocations: 83.55 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.8143, allocations: 1.25 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.8144, allocations: 14.33 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.8145, allocations: 3.469 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.8145, allocations: 8.234 kB / 0.9548 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.8145, allocations: 91.06 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8145, allocations: 4 kB / 0.9549 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002526/0.8148, allocations: 26.31 kB / 0.9549 GB, free: 4.008 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.0001778/0.815, allocations: 108.4 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.8153, allocations: 177.6 kB / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8154, allocations: 0 / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.8155, allocations: 57.69 kB / 0.9552 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.8158, allocations: 14.56 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.8162, allocations: 188.8 kB / 0.9554 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.8164, allocations: 0.6872 MB / 0.9561 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.8164, allocations: 13.2 kB / 0.9561 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.8164, allocations: 10.81 kB / 0.9561 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.8164, allocations: 0 / 0.9561 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.004261/0.8207, allocations: 1.559 MB / 0.9576 GB, free: 2.086 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