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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001213/0.001213, allocations: 104.2 kB / 15.99 MB, free: 6.355 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.001295/0.001295, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.97 kB / 0.8127 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2614, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002147/0.2636, allocations: 0.7244 MB / 0.9505 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2654, allocations: 1.171 MB / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.2655, allocations: 0 / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.2655, allocations: 0 / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.2657, allocations: 11.92 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.2664, allocations: 131.6 kB / 0.9518 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.2666, allocations: 135.7 kB / 0.9519 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.2667, allocations: 8 kB / 0.9519 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2668, allocations: 55.81 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.2669, allocations: 47.88 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.2669, allocations: 12 kB / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.267, allocations: 23.98 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2671, allocations: 19.98 kB / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.777e-05/0.2672, allocations: 47.83 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2673, allocations: 79.83 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2673, allocations: 0 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2673, allocations: 0 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2673, allocations: 0 / 0.9522 GB, free: 6.805 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.0006946/0.268, allocations: 405.3 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2681, allocations: 8.031 kB / 0.9526 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.2682, allocations: 16.78 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2683, allocations: 172.3 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2684, allocations: 8.312 kB / 0.9528 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.2684, allocations: 8.375 kB / 0.9528 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.2687, allocations: 74.2 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2687, allocations: 4.125 kB / 0.9528 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2687, allocations: 3.938 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2687, allocations: 0 / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2689, allocations: 39.97 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.2694, allocations: 324.8 kB / 0.9532 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.2697, allocations: 74.42 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2698, allocations: 36.91 kB / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.2698, allocations: 0 / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.2702, allocations: 103.3 kB / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2702, allocations: 0 / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005824/0.2708, allocations: 181.5 kB / 0.9536 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2708, allocations: 63.34 kB / 0.9536 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2709, allocations: 110.2 kB / 0.9537 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.271, allocations: 30.08 kB / 0.9538 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.271, allocations: 84.14 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.2711, allocations: 31.72 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.2712, allocations: 37.7 kB / 0.9539 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2713, allocations: 322.8 kB / 0.9542 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2715, allocations: 51.97 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2716, allocations: 70.55 kB / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.2719, allocations: 128.2 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2719, allocations: 0 / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004766/0.2724, allocations: 199.1 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.2725, allocations: 41.69 kB / 0.9547 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2725, allocations: 0 / 0.9547 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2725, allocations: 0 / 0.9547 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2726, allocations: 12 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2726, allocations: 64 / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.2729, allocations: 43.84 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.2729, allocations: 8 kB / 0.9548 GB, free: 3.898 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.0001306/0.273, allocations: 134.7 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.2731, allocations: 4 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.2731, allocations: 8.375 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2731, allocations: 0 / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2731, allocations: 4 kB / 0.9549 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2731, allocations: 0 / 0.9549 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.2737, allocations: 406.3 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2737, allocations: 3.984 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.2738, allocations: 4 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2738, allocations: 4 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2738, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2738, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2738, allocations: 0 / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.2742, allocations: 247.4 kB / 0.9555 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.2743, allocations: 85.23 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2743, allocations: 8 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.2744, allocations: 3.984 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2745, allocations: 7.938 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2745, allocations: 4 kB / 0.9556 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.2746, allocations: 103.1 kB / 0.9557 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2746, allocations: 3.938 kB / 0.9557 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002764/0.2749, allocations: 28 kB / 0.9558 GB, free: 2.766 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.0002252/0.2751, allocations: 105.1 kB / 0.9559 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2755, allocations: 183.3 kB / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2755, allocations: 0 / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2757, allocations: 55.91 kB / 0.9561 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.276, allocations: 16.12 kB / 0.9561 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.2765, allocations: 204.5 kB / 0.9563 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2767, allocations: 0.6922 MB / 0.957 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.2768, allocations: 15.44 kB / 0.957 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2768, allocations: 0 / 0.957 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of Templates: time 0.003128/0.2799, allocations: 1.384 MB / 0.9583 GB, free: 48 kB / 0.7325 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 -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