Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 160 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.07e-06, allocations: 0 / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.123e-05/4.63e-05, allocations: 9.375 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.003084/0.00313, allocations: 0.713 MB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002768/0.005898, allocations: 1.221 MB / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.00597, allocations: 0 / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.569e-05/0.006026, allocations: 3.938 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.006117, allocations: 11.86 kB / 0.9529 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.006949, allocations: 146.5 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.007228, allocations: 119.7 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.007364, allocations: 15.98 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.007562, allocations: 71.81 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.007692, allocations: 31.94 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.007738, allocations: 12 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007859, allocations: 27.98 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.007897, allocations: 7.938 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.007996, allocations: 35.95 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.008339, allocations: 135.6 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.008345, allocations: 3.938 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.008347, allocations: 0 / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.008361, allocations: 0 / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00086/0.009221, allocations: 339.8 kB / 0.9538 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.00927, allocations: 12.03 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.009418, allocations: 8.891 kB / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.009581, allocations: 109.7 kB / 0.9539 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.009598, allocations: 4.375 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.009638, allocations: 8.359 kB / 0.9539 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.009927, allocations: 70.16 kB / 0.954 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.00994, allocations: 4.172 kB / 0.954 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.009956, allocations: 8.312 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.009964, allocations: 8.375 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.01024, allocations: 39.89 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.01091, allocations: 252.5 kB / 0.9543 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01115, allocations: 46.5 kB / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.0113, allocations: 28.92 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.01133, allocations: 8 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.01171, allocations: 87.3 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.01171, allocations: 0 / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007235/0.01244, allocations: 141.5 kB / 0.9546 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.01249, allocations: 51.41 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01265, allocations: 113.8 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.01269, allocations: 29.7 kB / 0.9548 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.01278, allocations: 96.09 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.01283, allocations: 15.97 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.01296, allocations: 41.69 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.01317, allocations: 314.8 kB / 0.9552 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.01346, allocations: 78.03 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.01379, allocations: 105.1 kB / 0.9554 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.01424, allocations: 133.1 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01425, allocations: 3.938 kB / 0.9555 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007545/0.015, allocations: 240.8 kB / 0.9557 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.01506, allocations: 35.89 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01507, allocations: 4 kB / 0.9558 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.01509, allocations: 0 / 0.9558 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01523, allocations: 15.98 kB / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.01524, allocations: 4.062 kB / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.01559, allocations: 39.89 kB / 0.9558 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.01562, allocations: 4 kB / 0.9558 GB, free: 6.32 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.000186/0.01581, allocations: 125.8 kB / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.01583, allocations: 7.891 kB / 0.956 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.01633, allocations: 114.1 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01633, allocations: 3.938 kB / 0.9561 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01634, allocations: 4 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01634, allocations: 0 / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.01704, allocations: 310.1 kB / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01705, allocations: 0 / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.01716, allocations: 11.98 kB / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01716, allocations: 0 / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.01717, allocations: 0 / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01718, allocations: 480 / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.01719, allocations: 8 kB / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.01776, allocations: 207.4 kB / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.01777, allocations: 0 / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01779, allocations: 0 / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.01796, allocations: 11.98 kB / 0.9566 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.01802, allocations: 12.06 kB / 0.9566 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01804, allocations: 4 kB / 0.9566 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.198e-05/0.01813, allocations: 91.2 kB / 0.9567 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.01813, allocations: 4 kB / 0.9567 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004918/0.01862, allocations: 27.89 kB / 0.9567 GB, free: 5.328 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002486/0.01887, allocations: 107.5 kB / 0.9568 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007206/0.01959, allocations: 184.9 kB / 0.957 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/0.0196, allocations: 4 kB / 0.957 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.01982, allocations: 31.97 kB / 0.957 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.02033, allocations: 20.05 kB / 0.9571 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.02095, allocations: 152.7 kB / 0.9572 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.02106, allocations: 75.27 kB / 0.9573 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.02111, allocations: 4 kB / 0.9573 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.02116, allocations: 12.5 kB / 0.9573 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.02116, allocations: 0 / 0.9573 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of Templates: time 0.007862/0.02902, allocations: 1.523 MB / 0.9588 GB, free: 3.188 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9038020968437195]