Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001768/0.001768, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001909/0.001909, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.384/3.384, allocations: 429.4 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.976e-05, allocations: 3.375 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002002/0.002031, allocations: 0.7434 MB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003762, allocations: 1.099 MB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.003817, allocations: 4 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.003846, allocations: 5.531 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.003928, allocations: 11.86 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.004243, allocations: 55.77 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.004384, allocations: 74.23 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.00449, allocations: 12.17 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004608, allocations: 47.89 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.004671, allocations: 19.97 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.004693, allocations: 4 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.004756, allocations: 19.92 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.004786, allocations: 19.97 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.004829, allocations: 18 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.00501, allocations: 95.59 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005013, allocations: 0 / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005014, allocations: 0 / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005018, allocations: 0 / 0.8796 GB, free: 4.434 MB / 0.8386 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.0005924/0.00561, allocations: 404.8 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.005655, allocations: 8.031 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.005709, allocations: 10.55 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.005846, allocations: 128.4 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.00586, allocations: 4.375 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005878, allocations: 8.359 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.00606, allocations: 71.36 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006069, allocations: 192 / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006079, allocations: 384 / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006087, allocations: 8.125 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.006206, allocations: 31.98 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.006856, allocations: 311.6 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.007033, allocations: 55.05 kB / 0.8806 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.007111, allocations: 23.81 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.007143, allocations: 7.922 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.007315, allocations: 73.05 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007317, allocations: 4 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004059/0.007722, allocations: 125.6 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.007782, allocations: 55.41 kB / 0.8809 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.007964, allocations: 185.9 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.007989, allocations: 29.69 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.008101, allocations: 142.8 kB / 0.8813 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.008128, allocations: 19.84 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.008199, allocations: 39.36 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002953/0.008494, allocations: 0.4923 MB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.008585, allocations: 23.98 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.008731, allocations: 89.73 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.008953, allocations: 117.7 kB / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008955, allocations: 0 / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002889/0.009244, allocations: 133.4 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.009263, allocations: 8 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.009268, allocations: 0 / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.009284, allocations: 4 kB / 0.8822 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.009408, allocations: 15.98 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.009417, allocations: 4 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.009496, allocations: 8.219 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.009511, allocations: 8 kB / 0.8822 GB, free: 1.566 MB / 0.8386 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.0001351/0.009646, allocations: 171 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.009669, allocations: 11.89 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.009701, allocations: 12.44 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009702, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.009706, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009708, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.01019, allocations: 373.3 kB / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01019, allocations: 0 / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.01023, allocations: 8 kB / 0.8827 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01024, allocations: 0 / 0.8827 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01025, allocations: 7.922 kB / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01025, allocations: 0 / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01025, allocations: 0 / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.01059, allocations: 255.7 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.0106, allocations: 7.891 kB / 0.883 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01062, allocations: 12 kB / 0.883 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.01069, allocations: 3.984 kB / 0.883 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01073, allocations: 4 kB / 0.883 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01074, allocations: 4 kB / 0.883 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.01084, allocations: 143.2 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01084, allocations: 0 / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002432/0.01108, allocations: 12 kB / 0.8832 GB, free: 500 kB / 0.8386 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.0001773/0.01126, allocations: 103.2 kB / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.01152, allocations: 75.59 kB / 0.8833 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01152, allocations: 448 / 0.8833 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01163, allocations: 48.06 kB / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.0119, allocations: 15.94 kB / 0.8834 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.01234, allocations: 173.6 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01244, allocations: 71.33 kB / 0.8836 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.01248, allocations: 8 kB / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.01253, allocations: 20.48 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01253, allocations: 0 / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.004451/0.01698, allocations: 1.039 MB / 0.8847 GB, free: 14.95 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 8.47447973699309]