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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.008702/0.008702, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001832/0.001832, allocations: 195.8 kB / 16.79 MB, free: 5.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.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.91 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6857, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002264/0.688, allocations: 0.7266 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.6898, allocations: 1.179 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.6899, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.6899, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.69, allocations: 15.91 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.6906, allocations: 127.8 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.6907, allocations: 115.8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.6908, allocations: 8 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.691, allocations: 47.89 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.6911, allocations: 47.86 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.6911, allocations: 8 kB / 1.02 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.6912, allocations: 12 kB / 1.02 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.6912, allocations: 11.92 kB / 1.02 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.6913, allocations: 55.77 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.6915, allocations: 75.83 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6915, allocations: 0 / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6915, allocations: 4 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6915, allocations: 0 / 1.02 GB, free: 356 kB / 0.7637 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.0007188/0.6922, allocations: 403 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6923, allocations: 8.031 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.6924, allocations: 8.844 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6925, allocations: 176.2 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.6926, allocations: 12.38 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.6926, allocations: 4.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.6928, allocations: 74.19 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6928, allocations: 192 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6929, allocations: 7.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6929, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.6931, allocations: 39.91 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.6936, allocations: 324.8 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.6939, allocations: 70.55 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.694, allocations: 36.83 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.694, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.6943, allocations: 107.3 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.6943, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005588/0.6949, allocations: 181.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.695, allocations: 55.39 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.6951, allocations: 114.2 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.6951, allocations: 29.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.6952, allocations: 84.52 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.6952, allocations: 23.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.6953, allocations: 41.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6954, allocations: 318.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.6956, allocations: 55.84 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.6958, allocations: 74.11 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.696, allocations: 132.2 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6961, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000436/0.6965, allocations: 195.2 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.6965, allocations: 29.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6966, allocations: 7.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6966, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.6967, allocations: 11.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6967, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.6969, allocations: 43.86 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.6969, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 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.0001133/0.6971, allocations: 125.3 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.6971, allocations: 11.89 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.6971, allocations: 8.375 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6971, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6972, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6972, allocations: 7.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.6977, allocations: 402.4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6977, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.6977, allocations: 7.984 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6978, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.6978, allocations: 4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6978, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6978, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.6982, allocations: 239.4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.6982, allocations: 89 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.6983, allocations: 288 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6984, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.6984, allocations: 7.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.6985, allocations: 11.94 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.6985, allocations: 91.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6985, allocations: 8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002647/0.6988, allocations: 20 kB / 1.023 GB, free: 12.33 MB / 0.7794 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.000181/0.699, allocations: 116.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.6994, allocations: 179.2 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6994, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6995, allocations: 51.98 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.6999, allocations: 20.09 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.7003, allocations: 214 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.7006, allocations: 0.6926 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.7007, allocations: 11.44 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7007, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.003541/0.7042, allocations: 1.362 MB / 1.026 GB, free: 9.621 MB / 0.7794 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/jenkins1/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