Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0008385/0.0008385, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007924/0.0007924, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8842/0.8842, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.67/1.67, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.496e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001247/0.001272, allocations: 0.7363 MB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002291, allocations: 1.093 MB / 0.9535 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.002333, allocations: 4 kB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.002362, allocations: 3.938 kB / 0.9535 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.002426, allocations: 19.78 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.002694, allocations: 51.77 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.002794, allocations: 71.78 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.00289, allocations: 12.17 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.002969, allocations: 43.89 kB / 0.9537 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.003013, allocations: 23.97 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003029, allocations: 8 kB / 0.9538 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.003079, allocations: 23.97 kB / 0.9538 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.003098, allocations: 7.938 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.00313, allocations: 27.91 kB / 0.9538 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003258, allocations: 87.67 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00326, allocations: 0 / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003261, allocations: 0 / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003265, allocations: 0 / 0.9539 GB, free: 0.7305 MB / 0.9011 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.0003965/0.003661, allocations: 306 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.003696, allocations: 12.03 kB / 0.9542 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.003729, allocations: 8.891 kB / 0.9542 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.003818, allocations: 121.6 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.00383, allocations: 4.375 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.003842, allocations: 4.375 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.003983, allocations: 70.16 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.003992, allocations: 192 / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.004003, allocations: 8.375 kB / 0.9544 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004009, allocations: 8.125 kB / 0.9544 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.004098, allocations: 47.89 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.004512, allocations: 252.5 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.004623, allocations: 54.58 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.004673, allocations: 28.97 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.004694, allocations: 7.938 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.004816, allocations: 83.33 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.004817, allocations: 0 / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002572/0.005074, allocations: 117.6 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.005111, allocations: 63.34 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.005181, allocations: 125.8 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.005194, allocations: 25.7 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.005235, allocations: 88.14 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.005253, allocations: 19.83 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.005289, allocations: 41.64 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.005367, allocations: 318.8 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.005425, allocations: 27.97 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.005497, allocations: 73.98 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.005624, allocations: 109.8 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005626, allocations: 4 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001786/0.005805, allocations: 133.4 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005817, allocations: 8.219 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.005823, allocations: 4 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005835, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.005909, allocations: 15.98 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.005917, allocations: 7.938 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.005956, allocations: 11.94 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.005966, allocations: 4 kB / 0.956 GB, free: 14.34 MB / 0.9167 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 6.711e-05/0.006033, allocations: 124 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.006041, allocations: 11.89 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.006063, allocations: 16.42 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006065, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006069, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006072, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.006334, allocations: 314.1 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.006335, allocations: 3.938 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.006359, allocations: 7.984 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.006363, allocations: 4 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.00637, allocations: 3.984 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006371, allocations: 4.391 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006372, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.006531, allocations: 215.3 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.006539, allocations: 11.89 kB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.00655, allocations: 7.938 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.006589, allocations: 7.984 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.006626, allocations: 0 / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.006634, allocations: 7.984 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.00667, allocations: 91.28 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00667, allocations: 4 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001655/0.006835, allocations: 19.98 kB / 0.9568 GB, free: 13.44 MB / 0.9167 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.0001087/0.006944, allocations: 104.2 kB / 0.9569 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.007104, allocations: 79.81 kB / 0.957 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007105, allocations: 0 / 0.957 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.007164, allocations: 32.42 kB / 0.957 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.007348, allocations: 15.92 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.007638, allocations: 183.1 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.007689, allocations: 77.2 kB / 0.9573 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.007716, allocations: 16.5 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.007717, allocations: 0 / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.001846/0.009563, allocations: 1.067 MB / 0.9584 GB, free: 11.82 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 6.252383177168667]