Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007941/0.0007941, allocations: 76.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.0007822/0.0007822, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8454/0.8454, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.658/1.658, allocations: 359 MB / 0.6044 GB, free: 11.1 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.SampleTriggerNegativeStartTime,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.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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.042e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001419/0.001449, allocations: 0.7352 MB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.002634, allocations: 1.097 MB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.002688, allocations: 0 / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.002721, allocations: 3.938 kB / 0.9535 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.002802, allocations: 19.86 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.003153, allocations: 47.77 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.003276, allocations: 71.78 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003398, allocations: 20.16 kB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.003494, allocations: 35.91 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.003546, allocations: 27.95 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.003566, allocations: 4 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.677e-05/0.003632, allocations: 23.92 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.003655, allocations: 11.94 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.003692, allocations: 27.91 kB / 0.9538 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003845, allocations: 87.73 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003848, allocations: 0 / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.724e-06/0.003849, allocations: 0 / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003854, 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.000553/0.004407, allocations: 310 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004447, allocations: 8.031 kB / 0.9542 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.004488, allocations: 8.891 kB / 0.9542 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.004574, allocations: 113.7 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004589, allocations: 8.375 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.0046, allocations: 4.375 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.004752, allocations: 70.22 kB / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00476, allocations: 192 / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.00477, allocations: 4.375 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004776, allocations: 4.125 kB / 0.9544 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.816e-05/0.004864, allocations: 43.89 kB / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.00532, allocations: 260.4 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.005443, allocations: 54.64 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.005494, allocations: 28.91 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.005517, allocations: 7.938 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.005669, allocations: 79.38 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.005671, allocations: 0 / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002807/0.005952, allocations: 133.6 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.005988, allocations: 55.41 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.006066, allocations: 133.7 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.006081, allocations: 29.7 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.006122, allocations: 84.14 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.006144, allocations: 15.91 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.006183, allocations: 29.7 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.006261, allocations: 322.8 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.006326, allocations: 27.97 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.006405, allocations: 73.98 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.006543, allocations: 109.8 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006545, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001913/0.006737, allocations: 137.4 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.006752, allocations: 14.44 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006758, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.006774, allocations: 7.984 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.00686, allocations: 15.98 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006866, allocations: 3.938 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.006913, allocations: 24.09 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.006923, 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.967e-05/0.006992, allocations: 117.8 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.007004, allocations: 11.89 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.00703, allocations: 12.42 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.007033, allocations: 4 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.007038, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007041, allocations: 0 / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.007351, allocations: 314.1 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.007354, allocations: 4 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.007382, allocations: 7.984 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007385, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007391, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.007394, allocations: 4.328 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007395, allocations: 4 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.007555, allocations: 207.3 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007566, allocations: 11.95 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007578, allocations: 4 kB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.00762, allocations: 7.984 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.007656, allocations: 4 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.007663, allocations: 3.984 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.007702, allocations: 95.94 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007702, allocations: 0 / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001922/0.007894, allocations: 19.92 kB / 0.9568 GB, free: 13.45 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.0001417/0.008036, allocations: 99.58 kB / 0.9569 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.008219, allocations: 91.8 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008221, allocations: 0 / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.008279, allocations: 27.98 kB / 0.957 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.008485, allocations: 23.86 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.0003222/0.008807, allocations: 183.6 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.008863, allocations: 77.58 kB / 0.9573 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.008894, allocations: 16.5 kB / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/0.008895, allocations: 0 / 0.9573 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.002142/0.01104, allocations: 1.082 MB / 0.9584 GB, free: 11.81 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.427660470828414]