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.00632/0.00632, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.00134/0.00134, allocations: 195.1 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001937/1.062, allocations: 0.6592 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001514/1.063, allocations: 1.18 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/1.063, allocations: 1.094 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/1.063, allocations: 4.5 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/1.063, allocations: 7.125 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/1.064, allocations: 145.7 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/1.064, allocations: 129.2 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/1.064, allocations: 9.438 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/1.064, allocations: 57.38 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/1.064, allocations: 57.16 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/1.064, allocations: 16.22 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/1.065, allocations: 25.14 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/1.065, allocations: 14.69 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/1.065, allocations: 45.23 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/1.065, allocations: 121.1 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.065, allocations: 0.6094 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/1.065, allocations: 1.219 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.065, allocations: 0 / 1.09 GB, free: 3.977 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.0005967/1.066, allocations: 399.6 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.066, allocations: 9.875 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/1.066, allocations: 10.45 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/1.066, allocations: 176.8 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.066, allocations: 8.625 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/1.066, allocations: 7.578 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/1.066, allocations: 76.38 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.066, allocations: 192 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.066, allocations: 5.422 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.066, allocations: 1.438 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/1.066, allocations: 36.11 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/1.067, allocations: 330.2 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/1.067, allocations: 73.81 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/1.067, allocations: 33.97 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/1.067, allocations: 0.9688 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/1.067, allocations: 114.3 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.067, allocations: 0 / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005553/1.068, allocations: 177 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.068, allocations: 52.94 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/1.068, allocations: 123.7 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.068, allocations: 29.02 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/1.068, allocations: 92.06 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/1.068, allocations: 24.97 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/1.068, allocations: 38.39 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/1.068, allocations: 319.7 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.069, allocations: 45.56 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.069, allocations: 69.5 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.069, allocations: 129.6 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.069, allocations: 0 / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004168/1.069, allocations: 197.6 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/1.069, allocations: 34.81 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.069, allocations: 4.891 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.069, allocations: 1.625 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.07, allocations: 20.03 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.07, allocations: 4.969 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/1.07, allocations: 35.86 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/1.07, allocations: 7.281 kB / 1.093 GB, free: 1.816 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 8.33e-05/1.07, allocations: 122.2 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/1.07, allocations: 7.797 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/1.07, allocations: 10.5 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.07, allocations: 4.75 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.07, allocations: 1 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.07, allocations: 0.6562 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/1.071, allocations: 399.4 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.071, allocations: 4.703 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/1.071, allocations: 9.875 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.071, allocations: 0.625 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.071, allocations: 3.156 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.071, allocations: 0 / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.071, allocations: 9.156 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/1.071, allocations: 243.1 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/1.071, allocations: 79.97 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.071, allocations: 1.969 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/1.071, allocations: 8.375 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/1.071, allocations: 10.55 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.071, allocations: 5.281 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.809e-05/1.071, allocations: 100.8 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.071, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002682/1.072, allocations: 27.38 kB / 1.094 GB, free: 0.957 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.0001721/1.072, allocations: 107.8 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004019/1.072, allocations: 178.3 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.072, allocations: 0 / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.072, allocations: 62.05 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/1.073, allocations: 14.17 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/1.073, allocations: 176.8 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/1.073, allocations: 0.6866 MB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.56e-05/1.073, allocations: 5.953 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/1.073, allocations: 11.34 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/1.073, allocations: 4 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.005227/1.079, allocations: 1.671 MB / 1.097 GB, free: 15.72 MB / 0.8731 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