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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001515/0.001515, allocations: 192.6 kB / 16.14 MB, free: 6.645 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.507/1.507, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.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.665/2.665, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 63.91 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7765, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001915/0.7785, allocations: 0.7226 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.7801, allocations: 1.179 MB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.7801, allocations: 0 / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.7802, allocations: 3.938 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.7802, allocations: 11.92 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.7808, allocations: 127.5 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.781, allocations: 115.7 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.7811, allocations: 11.98 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.7812, allocations: 55.81 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.24e-05/0.7813, allocations: 39.88 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.7813, allocations: 8 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.7814, allocations: 23.98 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.7814, allocations: 19.91 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.7815, allocations: 39.84 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.7817, allocations: 103.7 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7817, allocations: 4 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7817, allocations: 0 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.7817, allocations: 0 / 1.019 GB, free: 312 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.0006244/0.7823, allocations: 407 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7824, allocations: 8.031 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.7824, allocations: 12.84 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.7826, allocations: 172.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.7826, allocations: 4.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7827, allocations: 4.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.7829, allocations: 74.2 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.7829, allocations: 192 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.7829, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.7829, allocations: 8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.7831, allocations: 39.97 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.7836, allocations: 332.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.7839, allocations: 70.55 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.784, allocations: 36.84 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.784, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.7843, allocations: 111.2 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7843, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005388/0.7849, allocations: 185.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.7849, allocations: 55.41 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.785, allocations: 109.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.7851, allocations: 33.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.7851, allocations: 96.12 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.7851, allocations: 11.72 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.7852, allocations: 37.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7853, allocations: 322.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7855, allocations: 47.97 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.7856, allocations: 66.55 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.7859, allocations: 132.2 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7859, allocations: 3.984 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004141/0.7863, allocations: 191.2 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.7864, allocations: 37.69 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7864, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7864, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7865, allocations: 16.05 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.7866, allocations: 7.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.7868, allocations: 35.81 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.7868, allocations: 8 kB / 1.022 GB, free: 13.41 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.0002023/0.787, allocations: 122.3 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.787, allocations: 7.906 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.7871, allocations: 8.375 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7871, allocations: 8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7871, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7871, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.7877, allocations: 407 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.7877, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.7878, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7878, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.7878, allocations: 3.984 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7878, allocations: 8.094 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7878, allocations: 7.875 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.7882, allocations: 235.4 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.7882, allocations: 85.02 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.7883, allocations: 8 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7884, allocations: 11.92 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.7884, allocations: 4 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.7885, allocations: 11.98 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.7885, allocations: 91.22 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7885, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002628/0.7888, allocations: 31.98 kB / 1.023 GB, free: 12.27 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.0001387/0.7889, allocations: 104.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.7893, allocations: 179.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7893, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7895, allocations: 64.03 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.7897, allocations: 12.67 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.7901, allocations: 180.5 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.7905, allocations: 0.6981 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.7905, allocations: 4.672 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.7905, allocations: 11.44 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7905, allocations: 3.938 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.004123/0.7947, allocations: 1.556 MB / 1.025 GB, free: 9.414 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/jenkins/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