Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.00134, allocations: 116.3 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 192.7 kB / 20.03 MB, free: 2.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] 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.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 63.91 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3103, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002137/0.3125, allocations: 0.7604 MB / 1.177 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3141, allocations: 1.07 MB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.3142, allocations: 4 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3143, allocations: 7.875 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.3144, allocations: 15.8 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3147, allocations: 51.83 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3149, allocations: 63.84 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.315, allocations: 24.17 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.3151, allocations: 27.91 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.3152, allocations: 39.84 kB / 1.178 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3152, allocations: 4 kB / 1.178 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.3153, allocations: 15.98 kB / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.3154, allocations: 19.92 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.3154, allocations: 31.84 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3157, allocations: 79.62 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3157, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3157, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3157, allocations: 8 kB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006103/0.3163, allocations: 391.1 kB / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3164, allocations: 12.03 kB / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3164, allocations: 8.828 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3166, allocations: 168.3 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3166, allocations: 4.375 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3166, allocations: 4.375 kB / 1.179 GB, free: 2.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.3169, allocations: 78.16 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3169, allocations: 7.922 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3169, allocations: 0 / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3169, allocations: 0 / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3171, allocations: 43.95 kB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.3178, allocations: 316.7 kB / 1.179 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.318, allocations: 62.55 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3181, allocations: 28.95 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3181, allocations: 4 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.3184, allocations: 79.31 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.3184, allocations: 4 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.3189, allocations: 129.7 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3189, allocations: 55.41 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3191, allocations: 121.8 kB / 1.179 GB, free: 1.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3191, allocations: 29.7 kB / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.3192, allocations: 92.06 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3192, allocations: 19.91 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.3193, allocations: 29.7 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3194, allocations: 322.8 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3195, allocations: 27.98 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3197, allocations: 86.28 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.32, allocations: 109.9 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.32, allocations: 0 / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003287/0.3203, allocations: 125.5 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3204, allocations: 11.98 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3204, allocations: 224 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3204, allocations: 8 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3205, allocations: 23.92 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3205, allocations: 0 / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.3206, allocations: 19.88 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3207, allocations: 4 kB / 1.18 GB, free: 0.9453 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001093/0.3208, allocations: 121.7 kB / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.3208, allocations: 11.95 kB / 1.18 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.3208, allocations: 4.375 kB / 1.18 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3208, allocations: 8 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3209, allocations: 0 / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3209, allocations: 3.984 kB / 1.18 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.3214, allocations: 366.4 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3214, allocations: 0 / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3215, allocations: 11.98 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3215, allocations: 0 / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3215, allocations: 4 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3215, allocations: 7.938 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3215, allocations: 0 / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3218, allocations: 199.4 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3219, allocations: 85.06 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3219, allocations: 0 / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.322, allocations: 15.92 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.322, allocations: 7.984 kB / 1.181 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3221, allocations: 7.938 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.3221, allocations: 95.42 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.974e-06/0.3221, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002632/0.3224, allocations: 27.88 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.000194/0.3226, allocations: 99.25 kB / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3229, allocations: 79.88 kB / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3229, allocations: 4 kB / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3231, allocations: 35.92 kB / 1.181 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3233, allocations: 11.92 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.3238, allocations: 188.8 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3241, allocations: 0.6924 MB / 1.182 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3241, allocations: 11.44 kB / 1.182 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3241, allocations: 0 / 1.182 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.003152/0.3273, allocations: 1.058 MB / 1.183 GB, free: 13.65 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 10.09443634096533]