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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001315/0.001315, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001467/0.001467, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.523/1.523, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9118, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00202/0.9139, allocations: 0.6643 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.9158, allocations: 1.166 MB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.9159, allocations: 4 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.916, allocations: 3.938 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.9161, allocations: 19.86 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.9169, allocations: 138.8 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.9173, allocations: 143.7 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.9174, allocations: 8 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.9176, allocations: 51.89 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.9177, allocations: 59.84 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.9178, allocations: 12 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.9179, allocations: 23.98 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.9179, allocations: 15.98 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.136e-05/0.918, allocations: 51.77 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.9183, allocations: 115.7 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9183, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9183, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.9183, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 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.0008612/0.9192, allocations: 406.8 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.9192, allocations: 8.031 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.9193, allocations: 12.84 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.9195, allocations: 168.2 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.9195, allocations: 4.375 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.9196, allocations: 8.375 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.9199, allocations: 70.2 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9199, allocations: 8.125 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.9199, allocations: 7.938 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.9199, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.9201, allocations: 39.97 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.9207, allocations: 320.8 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.921, allocations: 70.48 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.9211, allocations: 40.91 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.9212, allocations: 7.922 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.9215, allocations: 99.42 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.9215, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005907/0.9221, allocations: 181.4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.9222, allocations: 55.41 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.9223, allocations: 113.8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.9224, allocations: 33.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.9225, allocations: 96.03 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.9225, allocations: 11.81 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.9226, allocations: 37.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9227, allocations: 318.8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.9229, allocations: 51.91 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.9231, allocations: 80.11 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.9234, allocations: 124.2 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9234, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004891/0.9239, allocations: 195.1 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.9239, allocations: 45.75 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.924, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.924, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.9241, allocations: 19.98 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.9242, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.9244, allocations: 27.91 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.9244, allocations: 12 kB / 1.172 GB, free: 14.48 MB / 0.9044 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.0001598/0.9246, allocations: 130.9 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.9246, allocations: 7.844 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.9246, allocations: 12.38 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9246, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9247, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.9247, allocations: 0.8438 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.9252, allocations: 406.3 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9253, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.9253, allocations: 4.094 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9253, allocations: 7.938 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.9253, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9253, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9254, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.9258, allocations: 247.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.9258, allocations: 81.02 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.9259, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.926, allocations: 11.98 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.926, allocations: 4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.926, allocations: 7.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.9261, allocations: 91.22 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9261, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002876/0.9264, allocations: 24 kB / 1.173 GB, free: 13.35 MB / 0.9044 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.0001954/0.9266, allocations: 111.2 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.927, allocations: 187.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.927, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.9272, allocations: 52.53 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.9275, allocations: 12.17 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.928, allocations: 212.2 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9283, allocations: 0.6886 MB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.9283, allocations: 15.44 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.9283, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.00343/0.9318, allocations: 1.37 MB / 1.176 GB, free: 10.65 MB / 0.9044 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