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.001091/0.001091, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001213/0.001213, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.493/2.493, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 77.38 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3337, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002197/0.336, allocations: 0.6653 MB / 1.019 GB, free: 9.988 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3376, allocations: 1.169 MB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.3377, allocations: 3.938 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.3378, allocations: 3.938 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.3379, allocations: 15.88 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.3385, allocations: 142.2 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3387, allocations: 127.8 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.3388, allocations: 15.98 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3389, allocations: 51.89 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.339, allocations: 51.86 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3391, allocations: 12 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.3392, allocations: 31.92 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.3392, allocations: 11.92 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.3393, allocations: 43.89 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.3395, allocations: 123.7 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3396, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3396, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3396, allocations: 4 kB / 1.02 GB, free: 8.18 MB / 0.795 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.0006454/0.3402, allocations: 397.3 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3403, allocations: 12.02 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.3403, allocations: 12.84 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3405, allocations: 168.3 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3405, allocations: 4.375 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.3405, allocations: 12.38 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3408, allocations: 74.14 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3408, allocations: 4.188 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3408, allocations: 3.938 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3408, allocations: 0 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.341, allocations: 39.97 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.3415, allocations: 320.8 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3417, allocations: 74.42 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3418, allocations: 40.91 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3419, allocations: 0 / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.3421, allocations: 107.3 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3422, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005261/0.3427, allocations: 181.5 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3427, allocations: 59.41 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.3428, allocations: 114.5 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3429, allocations: 25.7 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3429, allocations: 96.06 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.343, allocations: 23.66 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.343, allocations: 41.64 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3432, allocations: 314.8 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3433, allocations: 55.97 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3435, allocations: 66.64 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.3437, allocations: 132.1 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3437, allocations: 4 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004185/0.3442, allocations: 195.3 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.3442, allocations: 37.69 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3442, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3443, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3444, allocations: 15.98 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3444, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3446, allocations: 31.88 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.3446, allocations: 11.94 kB / 1.023 GB, free: 5.289 MB / 0.795 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.0001061/0.3447, allocations: 135.3 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.3448, allocations: 3.906 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.3448, allocations: 12.38 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3448, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3448, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3448, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.3453, allocations: 406.4 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3453, allocations: 7.984 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.3454, allocations: 4 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3454, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3454, allocations: 11.98 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3454, allocations: 0 / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3454, allocations: 0 / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3458, allocations: 239.4 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.3459, allocations: 84.95 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3459, allocations: 8 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.346, allocations: 3.984 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.346, allocations: 4.281 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3461, allocations: 11.98 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.3461, allocations: 95.16 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002664/0.3464, allocations: 27.98 kB / 1.024 GB, free: 4.156 MB / 0.795 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.0001733/0.3466, allocations: 107.2 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.347, allocations: 183.3 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.347, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3471, allocations: 55.91 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3474, allocations: 16.09 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.3478, allocations: 203.8 kB / 1.024 GB, free: 3.551 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3481, allocations: 0.6894 MB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.3481, allocations: 11.44 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3481, allocations: 0 / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of Templates: time 0.003315/0.3515, allocations: 1.391 MB / 1.027 GB, free: 1.457 MB / 0.795 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