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.001481/0.001481, allocations: 113.2 kB / 16.37 MB, free: 6 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.001667/0.001667, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.513/2.513, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 61.12 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001779/0.3032, allocations: 0.6584 MB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3046, allocations: 1.172 MB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.3046, allocations: 0 / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3047, allocations: 3.938 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.3047, allocations: 15.91 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.3052, allocations: 146.9 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3054, allocations: 131.8 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.3055, allocations: 7.984 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.3056, allocations: 51.91 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3057, allocations: 51.84 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3057, allocations: 19.94 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.3058, allocations: 27.98 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.3059, allocations: 11.98 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.306, allocations: 51.83 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3061, allocations: 115.7 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3061, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3061, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3062, allocations: 0 / 1.021 GB, free: 7.422 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.0005966/0.3068, allocations: 401 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3068, allocations: 16.03 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3069, allocations: 8.844 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.307, allocations: 172.3 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.307, allocations: 8.359 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3071, allocations: 8.375 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3073, allocations: 74.2 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3073, allocations: 192 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3073, allocations: 3.938 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3073, allocations: 0 / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3075, allocations: 51.84 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.308, allocations: 316.8 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.3082, allocations: 70.48 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3084, allocations: 40.89 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3084, allocations: 3.984 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3086, allocations: 107.3 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3086, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.000502/0.3091, allocations: 177.5 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3092, allocations: 59.39 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.3093, allocations: 118.2 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3093, allocations: 29.7 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.3094, allocations: 88.52 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3094, allocations: 23.66 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.3095, allocations: 41.69 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3096, allocations: 314.8 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3098, allocations: 55.91 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3099, allocations: 78.47 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3102, allocations: 120.2 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3102, allocations: 4 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004107/0.3106, allocations: 195.2 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.3107, allocations: 37.7 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3107, allocations: 3.938 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3107, allocations: 4 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3108, allocations: 16.05 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3108, allocations: 0 / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.311, allocations: 31.88 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.311, allocations: 11.98 kB / 1.024 GB, free: 4.516 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.0001055/0.3112, allocations: 125 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.3112, allocations: 7.906 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.3112, allocations: 12.38 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3112, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.3112, allocations: 4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3112, allocations: 3.984 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.3118, allocations: 406.3 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3119, allocations: 0 / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.3119, allocations: 4 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3119, allocations: 0 / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3119, allocations: 7.984 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3119, allocations: 4 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3119, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.3123, allocations: 239.4 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3124, allocations: 88.95 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3124, allocations: 4.281 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.3125, allocations: 3.984 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3126, allocations: 7.984 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3126, allocations: 11.94 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.3127, allocations: 95.2 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3127, allocations: 0 / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002685/0.3129, allocations: 32 kB / 1.025 GB, free: 3.379 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.0001506/0.3131, allocations: 105.1 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3135, allocations: 187.2 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3135, allocations: 0 / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3136, allocations: 52.09 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3139, allocations: 15.98 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.3144, allocations: 174.7 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3147, allocations: 0.6894 MB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3148, allocations: 4.672 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3148, allocations: 15.44 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3148, allocations: 0 / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of Templates: time 0.004659/0.3195, allocations: 1.658 MB / 1.028 GB, free: 448 kB / 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 -s gbode -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