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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001484/0.001484, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7556, allocations: 140.4 MB / 0.9496 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001909/0.7576, allocations: 0.7231 MB / 0.9503 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7588, allocations: 1.176 MB / 0.9515 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.7589, allocations: 5.469 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.7589, allocations: 0 / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.759, allocations: 9.359 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.7594, allocations: 123.3 kB / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.7595, allocations: 116.5 kB / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.7597, allocations: 7.672 kB / 0.9517 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.7597, allocations: 49.55 kB / 0.9518 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.7598, allocations: 53.12 kB / 0.9518 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.7599, allocations: 10.95 kB / 0.9518 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.76, allocations: 20.58 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.76, allocations: 11.27 kB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.7601, allocations: 35.97 kB / 0.9519 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.7602, allocations: 86.81 kB / 0.952 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7602, allocations: 1.156 kB / 0.952 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7602, allocations: 0 / 0.952 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7602, allocations: 0 / 0.952 GB, free: 7.523 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.0005535/0.7608, allocations: 407 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7608, allocations: 9.938 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.7609, allocations: 5.625 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.761, allocations: 170.5 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.761, allocations: 8.281 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.761, allocations: 11.08 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.7613, allocations: 72.5 kB / 0.9526 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.7613, allocations: 1.594 kB / 0.9526 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.7613, allocations: 11.86 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7613, allocations: 1.062 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.7615, allocations: 40.16 kB / 0.9527 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.7619, allocations: 320.7 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.7621, allocations: 78.16 kB / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.7623, allocations: 32.84 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.7623, allocations: 4 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.7625, allocations: 110.3 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.7626, allocations: 0 / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005199/0.7631, allocations: 179.2 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7631, allocations: 52.44 kB / 0.9534 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.7632, allocations: 118.1 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.7632, allocations: 36.91 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.7633, allocations: 90.36 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.7633, allocations: 15.06 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.7634, allocations: 42 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.7635, allocations: 316.1 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.7636, allocations: 45.53 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.7638, allocations: 76.66 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.764, allocations: 128.2 kB / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7641, allocations: 1.656 kB / 0.9542 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004107/0.7645, allocations: 197.5 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.7645, allocations: 32.39 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7645, allocations: 1.094 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7646, allocations: 5.125 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7647, allocations: 17.7 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.7647, allocations: 1.406 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.7649, allocations: 34.16 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.7649, allocations: 9.422 kB / 0.9545 GB, free: 5.156 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 7.959e-05/0.765, allocations: 124.5 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.765, allocations: 11.5 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.7651, allocations: 5.594 kB / 0.9547 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7651, allocations: 5 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7651, allocations: 3.984 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7651, allocations: 0.875 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.7655, allocations: 406.4 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7656, allocations: 1.156 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.7656, allocations: 3.344 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7656, allocations: 5.125 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7656, allocations: 5.391 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7656, allocations: 96 / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7656, allocations: 5.031 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.766, allocations: 241.5 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.766, allocations: 82.55 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.766, allocations: 1.312 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.7661, allocations: 11.14 kB / 0.9554 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.7662, allocations: 11.55 kB / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.7662, allocations: 3.469 kB / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.7663, allocations: 94.61 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.001e-06/0.7663, allocations: 0 / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.7665, allocations: 27.44 kB / 0.9555 GB, free: 4.23 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.0001585/0.7667, allocations: 109.2 kB / 0.9556 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7671, allocations: 181.9 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7671, allocations: 0 / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7672, allocations: 53.44 kB / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.7675, allocations: 15.52 kB / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.7679, allocations: 214.9 kB / 0.9561 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.7681, allocations: 0.6839 MB / 0.9567 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.7681, allocations: 12.41 kB / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7681, allocations: 0 / 0.9568 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.002953/0.7711, allocations: 1.383 MB / 0.9581 GB, free: 2.363 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/jenkins1/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