Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001308/0.001309, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001257/0.001257, allocations: 190.9 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.387/1.387, 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 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.67 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3362, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002254/0.3386, allocations: 0.6685 MB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3402, allocations: 1.185 MB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3403, allocations: 0 / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.3403, allocations: 3.938 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.3404, allocations: 7.922 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.341, allocations: 139 kB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3412, allocations: 143.8 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3413, allocations: 4 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.3414, allocations: 51.89 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3416, allocations: 59.84 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.3416, allocations: 12 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3417, allocations: 31.98 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.3417, allocations: 11.92 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.3418, allocations: 43.89 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.342, allocations: 123.6 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.342, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.342, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.342, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 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.0006574/0.3427, allocations: 401 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3427, allocations: 8.031 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.3428, allocations: 12.84 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.343, allocations: 168.3 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.343, allocations: 8.359 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.343, allocations: 12.38 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3433, allocations: 70.2 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3433, allocations: 192 / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3433, allocations: 7.875 kB / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3433, allocations: 0 / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3435, allocations: 47.89 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.344, allocations: 320.8 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3442, allocations: 70.48 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3443, allocations: 36.91 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3443, allocations: 0 / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.3446, allocations: 119.2 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3446, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005205/0.3451, allocations: 177.5 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3452, allocations: 59.34 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.3453, allocations: 113.8 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3453, allocations: 25.7 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.3454, allocations: 92.12 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3454, allocations: 19.75 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.3455, allocations: 41.7 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3456, allocations: 314.8 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3458, allocations: 51.97 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3459, allocations: 75.22 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.3462, allocations: 128.2 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3462, allocations: 0 / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003868/0.3466, allocations: 191.2 kB / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.3466, allocations: 37.69 kB / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3467, allocations: 0 / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3467, allocations: 7.875 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3468, allocations: 16.08 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3468, allocations: 3.938 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.347, allocations: 39.94 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.347, allocations: 4 kB / 0.9561 GB, free: 2.637 MB / 0.7325 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.0001116/0.3471, allocations: 130.4 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.3472, allocations: 0 / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3472, allocations: 12.38 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3472, allocations: 0 / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3472, allocations: 0 / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3472, allocations: 4 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.3477, allocations: 418.2 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3477, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.3478, allocations: 4 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3478, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3478, allocations: 4 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.3478, allocations: 3.984 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3478, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3482, allocations: 247.4 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3483, allocations: 84.95 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3483, allocations: 4 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.3484, allocations: 3.984 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3484, allocations: 4 kB / 0.957 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3485, allocations: 11.98 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.3485, allocations: 95.34 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3485, allocations: 4 kB / 0.9571 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002545/0.3488, allocations: 27.98 kB / 0.9571 GB, free: 1.504 MB / 0.7325 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.0001761/0.349, allocations: 108.3 kB / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.3494, allocations: 187.2 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3494, allocations: 0 / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3495, allocations: 51.97 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3498, allocations: 16.12 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3502, allocations: 166.8 kB / 0.9576 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3505, allocations: 0.6961 MB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.3506, allocations: 4.672 kB / 0.9583 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.3506, allocations: 11.44 kB / 0.9583 GB, free: 200 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3506, allocations: 0 / 0.9583 GB, free: 200 kB / 0.7325 GB Notification: Performance of Templates: time 0.00472/0.3553, allocations: 1.664 MB / 0.9599 GB, free: 14.55 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches