Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.5 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008398/0.0008398, allocations: 88.5 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 9.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.4201, allocations: 131.7 MB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.4205, allocations: 67.97 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004001/0.4245, allocations: 1.363 MB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4245, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.4245, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005271/0.4251, allocations: 375.1 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4251, allocations: 8.031 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.4252, allocations: 4 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.4253, allocations: 170.9 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4253, allocations: 4 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4254, allocations: 4 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.4256, allocations: 81.58 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4256, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4256, allocations: 4 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.4257, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4258, allocations: 43.95 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.4264, allocations: 296.8 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4266, allocations: 70.48 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4267, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000325/0.427, allocations: 99.47 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.427, allocations: 4 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005633/0.4276, allocations: 177.4 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4276, allocations: 55.41 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4278, allocations: 105 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4278, allocations: 29.7 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.4279, allocations: 88.12 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.4279, allocations: 23.72 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4279, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4281, allocations: 323.4 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.4282, allocations: 27.98 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4283, allocations: 49.58 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.4284, allocations: 31.98 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4284, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.4287, allocations: 101.6 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4287, allocations: 8 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4287, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4287, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4289, allocations: 15.98 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4289, allocations: 3.938 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.429, allocations: 19.92 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.429, allocations: 8 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4291, allocations: 120.8 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.4291, allocations: 4 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.4292, allocations: 8.844 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4292, allocations: 3.984 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4292, allocations: 4 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4292, allocations: 4 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.4299, allocations: 430.3 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.43, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.43, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.43, allocations: 8 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.43, allocations: 3.984 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4301, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4301, allocations: 7.938 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.4305, allocations: 231.4 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.4305, allocations: 85.05 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4306, allocations: 7.922 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4307, allocations: 19.98 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.4308, allocations: 4 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4308, allocations: 7.984 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.4309, allocations: 87.28 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4309, allocations: 0 / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002235/0.4311, allocations: 19.95 kB / 1.033 GB, free: 7.004 MB / 0.6823 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.4313, allocations: 107.2 kB / 1.033 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.4315, allocations: 75.91 kB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4316, allocations: 0 / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.4317, allocations: 59.84 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4319, allocations: 12.55 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.4324, allocations: 186.5 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4327, allocations: 0.6887 MB / 1.034 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.4328, allocations: 4.672 kB / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4328, allocations: 11.44 kB / 1.034 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4328, allocations: 4 kB / 1.034 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of Templates: time 0.003053/0.4359, allocations: 0.9906 MB / 1.035 GB, free: 4.812 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches